Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthErr = errors.New("auth error")
Functions ¶
func Auth ¶
func Auth(secret string) gin.HandlerFunc
func CheckToken ¶
func CreateAndSaveToken ¶
func CreateToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.