Documentation ¶
Index ¶
Constants ¶
View Source
const ( LevelC LevelB LevelA LevelS )
Variables ¶
This section is empty.
Functions ¶
func CheckPassword ¶
CheckPassword minLength: Specifies the minimum length of a password maxLength:Specifies the maximum length of a password minLevel:Specifies the minimum strength level required for passwords pwd:Text passwords
func IsNotZeroString ¶ added in v1.0.2
IsNotZeroString check s is not empty string and is not "0"
func IsReservedUsername ¶ added in v1.0.2
IsReservedUsername checks whether the username is reserved
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.