Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogging ¶
func NewLogging(opts ...Option) alanis.MiddlewareFunc
Types ¶
type RequestInfo ¶
type RequestInfo struct { Code int Duration time.Duration Written int64 // contains filtered or unexported fields }
func (*RequestInfo) Wrap ¶
func (r *RequestInfo) Wrap(w http.ResponseWriter) http.ResponseWriter
Click to show internal directories.
Click to hide internal directories.