Documentation ¶
Index ¶
- Constants
- func GetFirstWordPinYinLetter(src string) string
- func GetWholeNamePinYinLetter(src string) string
- func NewJWT(data jwt.Claims, key ...string) string
- func VerityToken(token string, data jwt.Claims, key ...string) bool
- func VerityTokenWithErr(token string, data jwt.Claims, key ...string) error
Constants ¶
View Source
const (
KEY = "JWTKEY"
)
View Source
const (
UserTokenKey = "user_id"
)
Variables ¶
This section is empty.
Functions ¶
func VerityToken ¶
func VerityTokenWithErr ¶ added in v0.1.101
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.