middleware

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(duration time.Duration) gin.HandlerFunc

Logger is the middleware to print the Gin logging to our own logger. That way the logging messages are more streamlined and easier to maintain.

Taken from https://github.com/szuecs/gin-glog

Types

This section is empty.

Jump to

Keyboard shortcuts

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