jwt

package
v0.0.0-...-c61c591 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SecretKey = []byte("secret")
)

Functions

func GenerateToken

func GenerateToken(username string) (string, error)

func ParseToken

func ParseToken(tokenStr 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