Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseAddress ¶
ParseAddress 解析地址字符串,返回主机和端口
func TimeFormat ¶
Types ¶
type LogConfig ¶
type LogConfig struct {
Level string `json:"level"`
Filename string `json:"filename"`
MaxSize int `json:"max_size"`
MaxAge int `json:"max_age"`
MaxBackups int `json:"max_backups"`
Compress bool `json:"compress"`
LocalTime bool `json:"local_time"`
}
func NewLogConfig ¶
func (*LogConfig) WithOptions ¶
Click to show internal directories.
Click to hide internal directories.