Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Authenticate ¶
Authenticate takes in the username of a user and returns nil if the given password matches the user and an error otherwise
func GetPassword ¶
GetPassword will read in a password from stdin using the terminal no-echo utility ReadPassword. it will then salt and hash it with bcrypt
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.