middleware

package
v0.0.0-...-9531a1d Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(token string) echo.MiddlewareFunc

func Dumpper

func Dumpper() echo.MiddlewareFunc

func Logger

func Logger(logger logger.Logger) echo.MiddlewareFunc

Logger returns the logger middleware for Echo server.

func NewHTTPErrorHandler

func NewHTTPErrorHandler(log logger.Logger) func(err error, c echo.Context)

NewHTTPErrorHandler is a middleware that formats rendered errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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