accesslog

package
v4.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2021 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL