middleware

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: MIT Imports: 6 Imported by: 3

README

a collection of fasthttp middleware

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger(handler fasthttp.RequestHandler, log *logger.Logger) fasthttp.RequestHandler

Logger wraps a fasthttp RequestHandler to add request logging to specified logger.

func Recovery

func Recovery(handler fasthttp.RequestHandler, log *logger.Logger) fasthttp.RequestHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

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