Documentation ¶ Index ¶ func LoadConfig() type AppConfig func GetConfig() AppConfig type PortRange Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LoadConfig ¶ func LoadConfig() Types ¶ type AppConfig ¶ type AppConfig struct { SocksPort int `json:"socks-port"` HttpPort int `json:"http-port"` CoreTCPPort int `json:"core-tcp-port"` TestPortRange PortRange `json:"test-port-range"` NoBackground bool `json:"no-background,omitzero"` } func GetConfig ¶ func GetConfig() AppConfig type PortRange ¶ type PortRange struct { Start int `json:"start"` End int `json:"end"` } Source Files ¶ View all Source files app-config.go Click to show internal directories. Click to hide internal directories.