Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient creates a new HTTP client that respects proxy environment variables (HTTP_PROXY, HTTPS_PROXY, NO_PROXY).
func NewTransport ¶
func NewTransport() http.RoundTripper
NewTransport creates a new HTTP transport that respects proxy environment variables. This is a convenience function that returns http.DefaultTransport, which already supports proxy configuration via environment variables.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.