middleware

package
v0.0.0-...-bd7812a Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmptyTokenFromCookie = errors.New("empty token from cookie")
	EmptyTokenFromHeader = errors.New("empty token from header")
	EmptyTokenFromQuery  = errors.New("empty token from query")
	InvalidTokenHeader   = errors.New("invalid token header")
)

Functions

func JwtAuth

func JwtAuth() gin.HandlerFunc

func LogWithSkipPath

func LogWithSkipPath(skipPath []string) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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