jwt

package
v0.0.0-...-55d14b2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IdentityKey         = "user"
	IdentityAdminUser   = "admin"
	IdentityDefaultUser = "default"
)

Variables

This section is empty.

Functions

func NewToken

func NewToken(key string, identity ...string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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