Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessLog ¶
AccessLog is a middleware that prints request access logs to a log.Logger of your choice. If *log.Logger is nil, a panic will be raised.
Columns for each output line: Host Remote client addr HTTP request (method, path, protocol) HTTP response code Response body size (in kb) Response run time HTTP Referer Client User-Agent
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.