middleware

package
v0.0.0-...-fa05059 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingToken = errors.New("missing token")
)

Functions

This section is empty.

Types

type JWTMiddleware

type JWTMiddleware struct {
	data.Handler
}

func NewJWTMiddleware

func NewJWTMiddleware(hdl data.Handler) *JWTMiddleware

func (*JWTMiddleware) CheckLogin

func (m *JWTMiddleware) CheckLogin() middleware.Middleware

CheckLogin 校验JWT

Jump to

Keyboard shortcuts

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