Documentation ¶
Overview ¶
本文件放置jwt的配置信息
Index ¶
Constants ¶
View Source
const ( JWTSecret = "password_tik_duck" JWTOverTime = time.Hour * 2 )
View Source
const TokenExpireDuration = JWTOverTime
Variables ¶
View Source
var MySecret = []byte(JWTSecret) //nolint:gochecknoglobals
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.