Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEmailValid ¶
Validate a provided email by attempting to parse an RFC 5322 address and then performing an MX lookup on the retrieved domain.
func IsPasswordValid ¶
Validate the password meets complexity requirements. Provide desired password length as integer.
func IsRegisterValid ¶
func IsRegisterValid(registerAttempt models.UserRegister) (bool, error)
Takes a UserRegister struct and validates that all of the struct's values pass our validation functions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.