Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommonLogLine ¶
Types ¶
type Logger ¶
type Logger struct {
Filename string `json:"filename"`
MaxSize int `json:"rotate_size"`
MaxAge int `json:"rotate_age"`
MaxBackups int `json:"rotate_backups"`
Compress bool `json:"rotate_compress"`
Log io.Writer
}
func (*Logger) Handler ¶
func (p *Logger) Handler() fasthttp.RequestHandler
func (*Logger) Process ¶
func (p *Logger) Process(h fasthttp.RequestHandler) fasthttp.RequestHandler
Click to show internal directories.
Click to hide internal directories.