Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig() error
Types ¶
type Config ¶
type Config struct { Name string `toml:"name"` Version string `toml:"version"` WorkNum int `toml:"work_num"` MaxWaitNum int `toml:"max_wait_num"` RedisAddr string `toml:"redis_addr"` ScheduleMode string `toml:"schedule"` Etcd []string `toml:"etcd"` Mysql string `toml:"mysql"` }
var Conf *Config
Click to show internal directories.
Click to hide internal directories.