Documentation ¶ Index ¶ type Config func Get() *Config func LoadConfig() *Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Mode string `json:"mode"` Mysql struct { Host string `json:"host"` Port int `json:"port"` User string `json:"user"` Password string `json:"password"` } `json:"mysql"` } func Get ¶ func Get() *Config func LoadConfig ¶ func LoadConfig() *Config Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.