Documentation
¶
Overview ¶
Package config
Package config
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultSetter ¶ added in v1.0.1
type DefaultSetter interface {
InitDefaults()
}
type Item ¶ added in v1.0.1
type Item interface {
Verifiable
DefaultSetter
}
type LogConfig ¶
type LogConfig struct {
Level string `yaml:"level"`
Path string `yaml:"path"`
Rotate bool `yaml:"rotate"`
MaxSize int `yaml:"max_size"`
MaxAge int `yaml:"max_age"`
MaxBackups int `yaml:"max_backups"`
Compress bool `yaml:"compress"`
LocalTime bool `yaml:"local_time"`
}
func (*LogConfig) InitDefaults ¶ added in v1.0.1
func (l *LogConfig) InitDefaults()
type ManagerInterface ¶
type Verifiable ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.