Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessLog ¶
type AccessLog struct { Status int Method string Host string Path string Query string RequestSize int64 RemoteAddr string XForwardedFor string UserAgent string Referer string Protocol string Latency time.Duration }
func (*AccessLog) MarshalLogObject ¶
func (a *AccessLog) MarshalLogObject(enc zapcore.ObjectEncoder) error
Click to show internal directories.
Click to hide internal directories.