package
Version:
v0.0.11
Opens a new window with list of versions in this module.
Published: Jan 21, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func LoadConf(filename string)
type Conf struct {
HttpPort int `yaml:"http_port"`
Global bool `yaml:"global"`
Domains []string `yaml:"domains"`
LocalPort int `yaml:"local_port"`
ServerAddress string `yaml:"server_address"`
Password string `yaml:"password"`
LogFile string `yaml:"log_file"`
LogLevel string `yaml:"log_level"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.