Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHTTPClient ¶
CreateHTTPClient creates an HTTP client with proxy configuration
Types ¶
type Config ¶
type Config struct {
URL string // Proxy URL (http://proxy.example.com:8080)
NoProxy []string // List of hosts to bypass proxy
Username string // Proxy username (optional)
Password string // Proxy password (optional)
}
Config represents proxy configuration
func GetProxyFromEnvironment ¶
func GetProxyFromEnvironment() *Config
GetProxyFromEnvironment gets proxy configuration from environment variables
Click to show internal directories.
Click to hide internal directories.