middleware

package
v0.0.0-...-05df700 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate(ctx *gin.Context)

func LogLevelOverride

func LogLevelOverride(ctx *gin.Context)

func ParseTokenMiddleware

func ParseTokenMiddleware(ctx *gin.Context)

func Recover

func Recover(ctx *gin.Context, err interface{})

Types

type InvalidLogLevel

type InvalidLogLevel struct {
	Error string `json:"error"`
}

Jump to

Keyboard shortcuts

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