Documentation ¶
Overview ¶
Package reqlogger provide logger middleware for every http request.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(dest io.Writer) func(http.HandlerFunc) http.HandlerFunc
New return logger middleware
Every request will be logged to dest, if dest is nil then os.Stdout is used
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.