package
Version:
v0.0.0-...-8e1814b
Opens a new window with list of versions in this module.
Published: Oct 9, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
AESKEY = "welcome mshk top 32bytes32bytes!"
JWTSecretKey = []byte("welcome mshk top")
)
func JWTDecrypt(tokenString string) (jwt.MapClaims, error)
JWT 解密
func JWTEncrypt(mapClaims jwt.MapClaims) (string, error)
JWT 加密
Source Files
¶
Click to show internal directories.
Click to hide internal directories.