Documentation ¶
Index ¶
Constants ¶
View Source
const TokenBytes = 32
TokenBytes - default token bytes
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RandomString ¶
type RandomString interface { GenerateToken() (string, error) NumberOfBytes(base64String string) (int, error) }
RandomString interface
func NewRandomString ¶
func NewRandomString() RandomString
NewRandomString instantiates RandomString
Click to show internal directories.
Click to hide internal directories.