Versions in this module Expand all Collapse all v1 v1.8.7 May 20, 2022 Changes in this version + const ERROR_AUTH_TOKEN + var TOKEN_ERROR = map[int]string + func GenerateToken(gmUser model.GmUserModel) (string, error) + type Claims struct + ID int32 + RoleId int32 + Username string + func ParseToken(token string) (*Claims, error)