Documentation ¶
Overview ¶
Package user manages the users for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPassword ¶
CheckPassword validates a password
func Validate ¶
Validate validates a username, password, and email
A user is valid if: - the username contains only alphanumerical characters, - the password
- is longer than 10 characters,
- contains at least one digit,
- contains at least one lowercase letter,
- contains at least one uppercase letter,
- contains at least one special character.
Types ¶
Click to show internal directories.
Click to hide internal directories.