Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProxyEnvironmentVariables = []string{
"HTTPS_PROXY",
"https_proxy",
"HTTP_PROXY",
"http_proxy",
}
ProxyEnvironmentVariables defines the order of preference for proxy environment variables Following standard conventions used by curl, wget, and other tools
Functions ¶
func IsProxyConfigured ¶
func IsProxyConfigured() bool
IsProxyConfigured returns true if any proxy environment variable is set
func NewHTTPClientWithProxy ¶
NewHTTPClientWithProxy creates an HTTP client with optional proxy support Only configures proxy if environment variables are set Uses standard proxy environment variables in order of preference
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.