Versions in this module Expand all Collapse all v0 v0.1.1 Nov 16, 2022 v0.1.0 Nov 2, 2022 Changes in this version + type TokenManager struct + func New(key string, expirationTime time.Duration) (*TokenManager, error) + func (m *TokenManager) Create(userID int) (string, error) + func (m *TokenManager) Validate(accessToken string) (*token.Payload, error)