Versions in this module Expand all Collapse all v0 v0.2.3 Mar 2, 2022 Changes in this version + func Auth(ctx context.Context, req *protocol.Message, token string) error + func GetDevDesc(ctx context.Context) string + func GetDevUUID(ctx context.Context) string + func GetRealIP(ctx context.Context) string + func GetRequestID(ctx context.Context) int64 + func GetUserId(ctx context.Context) int64 + func GetUsername(ctx context.Context) string + type TokenInfo struct + AuthorityId string + BundleId string + DevDesc string + DevUUID string + Flavors string + ID string + Language string + Platform string + ShumeiDeviceId string + Username string