Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TotalIPListCapacity int = 10000
Functions ¶
func MergedConfig ¶
Types ¶
type AccountConfig ¶
type CloudflareConfig ¶
type CloudflareConfig struct {
Accounts []AccountConfig `yaml:"accounts"`
UpdateFrequency time.Duration `yaml:"update_frequency"`
}
type LoggingConfig ¶
type LoggingConfig struct {
LogLevel *log.Level `yaml:"log_level"`
LogMode string `yaml:"log_mode"`
LogDir string `yaml:"log_dir"`
LogMaxSize int `yaml:"log_max_size,omitempty"`
LogMaxFiles int `yaml:"log_max_files,omitempty"`
LogMaxAge int `yaml:"log_max_age,omitempty"`
CompressLogs *bool `yaml:"compress_logs,omitempty"`
}
func (*LoggingConfig) LoggerForFile ¶
func (c *LoggingConfig) LoggerForFile(fileName string) (io.Writer, error)
type PrometheusConfig ¶
type ZoneConfig ¶
Click to show internal directories.
Click to hide internal directories.