Versions in this module Expand all Collapse all v1 v1.0.0 Mar 1, 2019 Changes in this version + const Base62 + const DefaultTokenLength + const ErrInvalidCharacter + const ErrTokenTooBig + const ErrTokenTooSmall + const MaxTokenLength + const MinTokenLength + type Error string + func (e Error) Error() string + type Token uint64 + func Decode(token string) (Token, error) + func New(tokenLength ...int) Token + func (t *Token) UnmarshalText(data []byte) error + func (t Token) Encode() string + func (t Token) MarshalText() ([]byte, error) Other modules containing this package github.com/alexaandru/token/v2