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 COUNTER + const DEFAULT_STEP + const DERIVE + const GAUGE + const MIN_STEP + const VERSION + var ConfigFile string + var RecvDataFilter = nproc.NewDataFilter("RecvDataFilter", 5) + var RecvDataTrace = nproc.NewDataTrace("RecvDataTrace", 5) + func InitLog(level string) (err error) + func ParseConfig(cfg string) + type GlobalConfig struct + Debug bool + Http *HttpConfig + Rpc *RpcConfig + Socket *SocketConfig + Transfer *TransferConfig + func Config() *GlobalConfig + type HttpConfig struct + Enabled bool + Listen string + type RpcConfig struct + Enabled bool + Listen string + type SocketConfig struct + Enabled bool + Listen string + Timeout int32 + type TransferConfig struct + Batch int32 + CallTimeout int32 + Cluster map[string]string + ConnTimeout int32 + Enabled bool + MaxConns int32 + MaxIdle int32 + Retry int32