Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProxyURL ¶
GetProxyURL gets the HTTP proxy address to use for a given address, if any.
Types ¶
type HTTPFallbackRoundTripper ¶
HTTPFallbackRoundTripper is a wrapper for http.Transport that downgrades requests to plain HTTP when using a plain HTTP proxy at localhost.
func NewHTTPFallbackRoundTripper ¶
func NewHTTPFallbackRoundTripper(transport *http.Transport, insecure bool) *HTTPFallbackRoundTripper
NewHTTPFallbackRoundTripper creates a new initialized HTTP fallback roundtripper.
Click to show internal directories.
Click to hide internal directories.