jwt

package
v0.0.0-...-7604275 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenJwtToken

func GenJwtToken(uid uint64, secret string) (string, error)

func ParseJwtToken

func ParseJwtToken(tokenStr string, secret string) (map[string]interface{}, error)

func VerifyJwtToken

func VerifyJwtToken(tokenStr string, secret string) bool

Types

type Jwt

type Jwt struct {
}

func GetJwtInstance

func GetJwtInstance() *Jwt

Jump to

Keyboard shortcuts

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