middleware

package
v0.0.0-...-540b577 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AuthSchemeBearer = "bearer" // 验证方案

Variables

View Source
var (
	TokenFormatError = errors.New("incorrect token format")
	TokenSchemeError = errors.New("auth scheme incorrect")
)

Functions

func JwtAuth

func JwtAuth() gin.HandlerFunc

JwtAuth JWT

Types

This section is empty.

Jump to

Keyboard shortcuts

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