Versions in this module Expand all Collapse all v1 v1.0.2 Nov 4, 2021 Changes in this version + func ClientSecretVerifier(cSecret string, sInfo LoginInfo) (errMsg string, err error) + func GetToken(claims *Claims, expireTime int64) (string, error) + type Claims struct + ServerID string + func ParserToken(strToken string) (*Claims, error) + type LoginInfo struct + ClientSecret string + ServerID string + Timestamp int64 + func EncryptSecret(info LoginInfo) LoginInfo