mw

package
v0.0.0-...-9fe1ceb Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JwtMiddleware *jwt.HertzJWTMiddleware
	IdentityKey   = "id"
)

Functions

func InitJwt

func InitJwt()

Types

type User

type User struct {
	Id          int64
	Name        string
	Permissions []interface{}
}

Jump to

Keyboard shortcuts

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