Versions in this module Expand all Collapse all v0 v0.2.1 Aug 15, 2017 v0.2.0 Jun 18, 2017 Changes in this version + const VERSION + var ConfigFile string + func ParseConfig(cfg string) + type ApiConfig struct + ConnectTimeout int32 + PlusApi string + PlusApiToken string + PushApi string + RequestTimeout int32 + type Cluster struct + Denominator string + DsType string + Endpoint string + GroupId int64 + Id int64 + LastUpdate time.Time + Metric string + Numerator string + Step int + Tags string + func (this *Cluster) String() string + type DatabaseConfig struct + Addr string + Idle int + Ids []int + Interval int64 + type GlobalConfig struct + Api *ApiConfig + Database *DatabaseConfig + Debug bool + Http *HttpConfig + func Config() *GlobalConfig + type HttpConfig struct + Enabled bool + Listen string + type SafeClusterMonitorItems struct + M map[string]*Cluster + func NewClusterMonitorItems() *SafeClusterMonitorItems + func (this *SafeClusterMonitorItems) Get() map[string]*Cluster + func (this *SafeClusterMonitorItems) Init(m map[string]*Cluster)