Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Bytes ¶
Bytes takes an integer and generates a random byte slice of length n this uses the crypto/rand package so is safe to use with remember tokens
func RememberToken ¶
RememberToken is a helper function designed to generate remember tokens of a predetermined byte size
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.