Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct { Server ServerCfg `yaml:"server"` Database DatabaseCfg `yaml:"database"` }
Cfg represents the configuration of application.
var AppCfg *Cfg
AppCfg represents the configuration of application.
type DatabaseCfg ¶
DatabaseCfg present the configuration of database.
Click to show internal directories.
Click to hide internal directories.