Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TokenExpired error = errors.New("Token已过期,请重新登录") TokenNotValidYet error = errors.New("Token无效,请重新登录") TokenMalformed error = errors.New("Token不正确,请重新登录") TokenInvalid error = errors.New("这不是一个token,请重新登录") )
定义错误
Functions ¶
func Cors ¶
func Cors() gin.HandlerFunc
func Log ¶
func Log() gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.