Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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 Automatically wraps the transport with OTEL instrumentation if tracing is enabled
func NewHTTPClientWithProxyAndLogger ¶
NewHTTPClientWithProxyAndLogger creates an HTTP client with optional proxy support and logging Automatically wraps the transport with OTEL instrumentation if tracing is enabled
Types ¶
This section is empty.