Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintConfig ¶
func PrintConfig(cfg *Config)
Types ¶
type Config ¶
type Config struct {
Monitor MonitorConfig `mapstructure:"Monitor"`
DB DBConfig `mapstructure:"Database"`
}
func LoadConfig ¶
type DBConfig ¶
type DBConfig struct {
Type string `mapstructure:"Type"`
BatchSize int `mapstructure:"BatchSize"`
FlushTime string `mapstructure:"FlushInterval"`
InfluxDB *InfluxDBConfig `mapstructure:"Influxdb"`
}
type InfluxDBConfig ¶
Click to show internal directories.
Click to hide internal directories.