Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Env ¶
Env looks up a value for environment variable and returns it. If not found it returns the given default value.
func GenerateRandomKey ¶
GenerateRandomKey generates a cryptographically secure random key of a given length.
func RandomString ¶
RandomString generates a cryptographically secure password of a given length which consists of alpha numeric characters and at least one 'special' one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.