Documentation ¶
Overview ¶
Package accesslogs provides a simple straight forward access log middleware. The logs are of the following format: <timestamp> <HTTP request method> <full URL including query string parameters> <duration of execution> <HTTP response status code>
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLog ¶
func AccessLog(rw http.ResponseWriter, req *http.Request, next http.HandlerFunc)
AccessLog is a middleware which prints access log to stdout
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.