Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error indicating that a token was malformed. ErrInvalidToken = errors.New("Invalid token.") // Indicating that verification failed, because the token was // incorrect. ErrIncorrectToken = errors.New("Incorrect token.") )
Functions ¶
This section is empty.
Types ¶
type Token ¶
type Token [128 / 8]byte
A cryptographically random 128-bit value.
func (Token) MarshalText ¶
func (*Token) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.