Documentation
¶
Index ¶
- func CleanGlobalProxy(config *ProxyConfig)
- func CleanHttpProxyEnvironmentVariable(config *ProxyConfig)
- func ResetGlobalProxyAndEnvironmentVariable()
- func SetGlobalProxy(port int, config *ProxyConfig) error
- func SetHttpProxyEnvironmentVariable(protocol string, port int, config *ProxyConfig) error
- type ProxyConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanGlobalProxy ¶
func CleanGlobalProxy(config *ProxyConfig)
func CleanHttpProxyEnvironmentVariable ¶
func CleanHttpProxyEnvironmentVariable(config *ProxyConfig)
func ResetGlobalProxyAndEnvironmentVariable ¶ added in v0.1.1
func ResetGlobalProxyAndEnvironmentVariable()
func SetGlobalProxy ¶
func SetGlobalProxy(port int, config *ProxyConfig) error
func SetHttpProxyEnvironmentVariable ¶
func SetHttpProxyEnvironmentVariable(protocol string, port int, config *ProxyConfig) error
Types ¶
Click to show internal directories.
Click to hide internal directories.