Documentation
¶
Index ¶
Constants ¶
View Source
const (
VERSION = "0.0.1"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfYaml ¶
type ConfYaml struct {
Http *HttpSection `yaml:"http"`
Rpc *RpcSection `yaml:"rpc"`
RRD rrdtool.RRDSection `yaml:"rrd"`
Logger logger.LoggerSection `yaml:"logger"`
Migrate migrate.MigrateSection `yaml:"migrate"`
Index index.IndexSection `yaml:"index"`
RpcClient rpc.RpcClientSection `yaml:"rpcClient"`
Cache cache.CacheSection `yaml:"cache"`
CallTimeout int `yaml:"callTimeout"`
IOWorkerNum int `yaml:"ioWorkerNum"`
FirstBytesSize int `yaml:"firstBytesSize"`
}
var (
Config *ConfYaml
)
type HttpSection ¶
type HttpSection struct {
Enabled bool `yaml:"enabled"`
}
type RpcSection ¶
type RpcSection struct {
Enabled bool `yaml:"enabled"`
}
Click to show internal directories.
Click to hide internal directories.