Versions in this module Expand all Collapse all v0 v0.1.0 Dec 3, 2019 Changes in this version + var ErrInvalidToken = errors.New("invalid token") + type Auther interface + DestroyToken func(ctx context.Context, accessToken string) error + GenerateToken func(ctx context.Context, userUUID string) (TokenInfo, error) + ParseUserUUID func(ctx context.Context, accessToken string) (string, error) + Release func() error + type TokenInfo interface + EncodeToJSON func() ([]byte, error) + GetAccessToken func() string + GetExpiresAt func() int64 + GetTokenType func() string