View definition

(*BeegoHTTPRequest).SetProxy

Defined in github.com/astaxie/beego/httplib/httplib.go

Description

SetProxy set the http proxy example:

func(req *http.Request) (*url.URL, error) {
	u, _ := url.ParseRequestURI("http://127.0.0.1:8118")
	return u, nil
}

SetProxy is referenced in 0 repositories