Documentation ¶
Index ¶
Constants ¶
View Source
const MaxUsernameLength = 25
MaxUsernameLength is the maxiumum length allowable for usernames
View Source
const MinUsernameLength = 1
MinUsernameLength is the minimum length allowable for usernames
Variables ¶
This section is empty.
Functions ¶
func ValidateAlias ¶
ValidateAlias splits an alias, validates it parts and returns err if anything is wrong
func ValidateDomain ¶
ValidateDomain returns true if string is a valid domain format
func ValidateUsername ¶
ValidateUsername returns true if string is a valid username format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.