Versions in this module Expand all Collapse all v1 v1.0.0 Mar 23, 2020 Changes in this version + const VERSION + func Parse(cfg string) error + type GlobalConfig struct + Debug bool + Remain int + Rpc *RpcConfig + Smtp *SmtpConfig + Web *WebConfig + Worker *WorkerConfig + var Config *GlobalConfig + type HistoryData struct + Timestamp int64 + Value float64 + type Mail struct + Content string + Subject string + Tos string + func (this *Mail) String() string + type MysqlConfig struct + Addr string + Idle int + Max int + type RpcConfig struct + Listen string + type Sms struct + Content string + Tos string + func (this *Sms) String() string + type SmtpConfig struct + Addr string + From string + Password string + Tls bool + Username string + type WebConfig struct + Addrs []string + Interval int + Timeout int + type WorkerConfig struct + Mail int + Sms int