registry

package
v0.1.1-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

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(port int, config *ProxyConfig) error

Types

type ProxyConfig

type ProxyConfig struct {
	ProxyEnable   uint32
	ProxyServer   string
	ProxyOverride string
	HttpProxyVar  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL