Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
CheckPasswordHash checks if a password hash is the password
func EncodeJSONAndFlush ¶
EncodeJSONAndFlush encodes a struct to json and sends it
func HashPassword ¶
HashPassword hashes a password using bcrypt
func RandStringBytes ¶
RandStringBytes generates a random string of length n
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.