Documentation ¶
Index ¶
- func CheckToken(tokenString string) (b bool, t string, code int)
- func CreateMagicToken(claims map[string]interface{}) string
- func GetUserIdByToken(tokenString string) int
- func GetUserNameByToken(tokenString string) string
- func GetVerificationByToken(tokenString string) string
- func ParseMagicToken(tokenString string) (interface{}, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMagicToken ¶
func GetUserIdByToken ¶
func GetUserNameByToken ¶
func GetVerificationByToken ¶
func ParseMagicToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.