util

package
v0.1.78 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KEY = "JWTKEY"
)
View Source
const (
	UserTokenKey = "user_id"
)

Variables

This section is empty.

Functions

func GetFirstWordPinYinLetter

func GetFirstWordPinYinLetter(src string) string

func GetWholeNamePinYinLetter

func GetWholeNamePinYinLetter(src string) string

func NewJWT

func NewJWT(data jwt.Claims, key ...string) string

func VerityToken

func VerityToken(token string, data jwt.Claims, key ...string) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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