Documentation ¶ Index ¶ type Config type FileConf Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Type string // log type std zap logrus,zap is default Both string // all ,file console,console is default Level string // info ,error ... Format string // json text File FileConf } type FileConf ¶ type FileConf struct { Mode string // size data Path string // file path MaxAge int // file maxAge Size int // file size (M) } Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.