reqlogger

package
Version: v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: MIT Imports: 8 Imported by: 1

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.

Source Files

Jump to

Keyboard shortcuts

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