middlewares

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(next http.Handler) http.Handler

Log : Middleware used to display the API log format [Method] - URL DATETIME

func Recover

func Recover(next http.Handler) http.Handler

Recover Handler : Middleware that handle panic and return error 500 message

Types

This section is empty.

Jump to

Keyboard shortcuts

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