Versions in this module Expand all Collapse all v0 v0.19.4 May 24, 2023 Changes in this version + func CreateToken(ht HandlerType, user *user_model.User, data []byte) (string, error) + type ErrToken struct + func (err *ErrToken) Error() string + func (err *ErrToken) Unwrap() error + type HandlerType byte + const ReplyHandlerType + const UnknownHandlerType + const UnsubscribeHandlerType + func ExtractToken(ctx context.Context, token string) (HandlerType, *user_model.User, []byte, error)