gslf

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: MIT Imports: 7 Imported by: 0

README

gslf: Fiber Middleware for gsl

godoc sec go-report license

A gsl Fiber middlware.

API

  • Middleware(logger gsl.Log): Creates a new Fiber middleware with the given logger.
  • Recover(c *fiber.Ctx, err error): Recovery handler on errors.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware(logger gsl.Log) func(*fiber.Ctx)

Middleware will return a new Fiber middleware for logging.

func Recover

func Recover(c *fiber.Ctx, err error)

Recover will handle a recover error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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