middleware

package
v0.0.0-...-a2093d6 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: LGPL-2.1 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Middleware

type Middleware = gin.HandlerFunc

func LoggingRequest

func LoggingRequest() Middleware

func LoggingRequestWithLogger

func LoggingRequestWithLogger(l *logger.Logger, simply bool) Middleware

func LoggingResponse

func LoggingResponse() Middleware

func LoggingResponseWithLogger

func LoggingResponseWithLogger(l *logger.Logger, simply bool) Middleware

func LoggingSimplyRequest

func LoggingSimplyRequest() Middleware

func LoggingSimplyResponse

func LoggingSimplyResponse() Middleware

func Recovery

func Recovery() Middleware

Recovery global exception handling middleware

func RecoveryCustom

func RecoveryCustom(recover Middleware) Middleware

Jump to

Keyboard shortcuts

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