Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPassword ¶
func GetEnv ¶
GetEnv will return the value of an environment variable if it exists otherwise it will return the supplied defaultValue
func GetEnvAsBool ¶
GetEnvAsBool will return an environment var if it exists, parsed as a bool If parsing fails, false is returned. Otherwise the default value is returned
func HashPassword ¶
func RandomHex ¶
RandomHex will create random n bytes and return formatted as a hex string. The string length will be double the byte length.
func ValidatePassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.