| | |
| | | } |
| | | |
| | | type database struct { |
| | | Driver string `mapstructure: "driver"` |
| | | Host string `mapstructure: "host"` |
| | | Port string `mapstructure: "port"` |
| | | Name string `mapstructure: "name"` |
| | | Driver string `mapstructure: "driver"` |
| | | Host string `mapstructure: "host"` |
| | | Port string `mapstructure: "port"` |
| | | Name string `mapstructure: "name"` |
| | | Username string `mapstructure: "username"` |
| | | Password string `mapstructure: "password"` |
| | | } |
| | | |
| | | type elastic struct { |
| | |
| | | } |
| | | |
| | | type api struct { |
| | | Host string `mapstructure: "host"` |
| | | Port string `mapstructure: "port"` |
| | | Host string `mapstructure: "host"` |
| | | Port string `mapstructure: "port"` |
| | | CsTimes int `mapstructure:"csTimes"` |
| | | CsHours int `mapstructure:"csHours"` |
| | | AInterval int `mapstructure:"aInterval"` |
| | | } |
| | | |
| | | var LogConf = &LogConfig{} |