Documentation ¶
Index ¶
Constants ¶
View Source
const ( EnvGosUpstreamAddress = "GOS_UPSTREAM_ADDRESS" EnvGosDebug = "GOS_DEBUG" )
Key of Environmental Variables
Variables ¶
This section is empty.
Functions ¶
func GetGoBinaryPath ¶
func GetGoBinaryPath() string
GetGoBinaryPath is used to get the GoBinaryPath currently configured
func GetLocalProxyListenAddr ¶
func GetLocalProxyListenAddr() string
GetLocalProxyListenAddr is used to get the ProxyListenAddr currently configured
func LoadConfig ¶
func LoadConfig(variables SystemVar)
LoadConfig is used to load variables info to system variables
func SetGoBinaryPath ¶
func SetGoBinaryPath(path string)
SetGoBinaryPath is used to modify the location of go binary files
func SetUpstreamAddr ¶ added in v1.1.0
func SetUpstreamAddr(path string)
SetUpstreamAddr is used to modify the upstream address of gos
Types ¶
type FmtFormatter ¶ added in v1.1.0
type FmtFormatter struct{}
FmtFormatter is used to print clean output
Click to show internal directories.
Click to hide internal directories.