Documentation ¶ Index ¶ func GetProxy(protocol string, proxyURL string) (func(*http.Request) (*url.URL, error), error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetProxy ¶ func GetProxy(protocol string, proxyURL string) (func(*http.Request) (*url.URL, error), error) GetProxy returns a proxy function for the passed in protocol and proxy URL if any Reads the HTTP_PROXY and HTTPS_PROXY environment variables if no proxy URL was passed in Types ¶ This section is empty. Source Files ¶ View all Source files proxy.go Click to show internal directories. Click to hide internal directories.