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 COMMIT + const COUNTER + const DEFAULT_STEP + const DERIVE + const GAUGE + const VERSION + var ConfigFile string + func ParseConfig(cfg string) + type ClusterNode struct + Addrs []string + func NewClusterNode(addrs []string) *ClusterNode + type GlobalConfig struct + Debug bool + Graph *GraphConfig + Http *HttpConfig + Judge *JudgeConfig + MinStep int + Rpc *RpcConfig + Socket *SocketConfig + Tsdb *TsdbConfig + func Config() *GlobalConfig + type GraphConfig struct + Batch int + CallTimeout int + Cluster map[string]string + ClusterList map[string]*ClusterNode + ConnTimeout int + Enabled bool + MaxConns int + MaxIdle int + Replicas int + type HttpConfig struct + Enabled bool + Listen string + type JudgeConfig struct + Batch int + CallTimeout int + Cluster map[string]string + ClusterList map[string]*ClusterNode + ConnTimeout int + Enabled bool + MaxConns int + MaxIdle int + Replicas int + type RpcConfig struct + Enabled bool + Listen string + type SocketConfig struct + Enabled bool + Listen string + Timeout int + type TsdbConfig struct + Address string + Batch int + CallTimeout int + ConnTimeout int + Enabled bool + MaxConns int + MaxIdle int + MaxRetry int