Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitGlobalConfig ¶
Types ¶
type Config ¶
type Config struct { Core *CoreConfig `toml:"core"` Log *LogConfig `toml:"log"` }
func GetGlobalConfig ¶
func GetGlobalConfig() *Config
func LoadConfig ¶
type CoreConfig ¶
type CoreConfig struct {
ListenAddress string `toml:"listen_address"`
}
Click to show internal directories.
Click to hide internal directories.