middleware

package
v0.0.0-...-4c9bff6 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrorHandlingMiddleware

func NewErrorHandlingMiddleware() echo.MiddlewareFunc

NewErrorHandlingMiddleware handles panic error

func NewLoggerMiddleware

func NewLoggerMiddleware(logger zerolog.Logger) echo.MiddlewareFunc

NewLoggerMiddleware make request context with logger then all context can get logger from context

func NewLoggingMiddleware

func NewLoggingMiddleware() echo.MiddlewareFunc

func RecordErrorMiddleware

func RecordErrorMiddleware() echo.MiddlewareFunc

RecordErrorMiddleware provide error middleware useful to record error occur

Types

This section is empty.

Jump to

Keyboard shortcuts

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