Versions in this module Expand all Collapse all v0 v0.0.5 May 17, 2023 v0.0.4 May 4, 2023 Changes in this version + const UserIDKey + func GenToken(userID int64) (string, error) + func GetInfo(token string) (int64, error) + func RefreshToken(accessToken, refreshToken string) (newAToken, newRToken string, err error) + func SignPermanentToken(signBy string) (string, error) + type PerToken struct + SignTo string + type Token struct + UserID int64 + func ParseToken(tokenString string) (*Token, error)