Documentation
¶
Index ¶
Constants ¶
View Source
const ( MULTIPART_MEMORY = 15 << 20 // 15 MB FILE_BUCKET = "file" TIME_FORMAT = "2006-01-02 15:04:05" USER_PASSWORD_MAX_LENGTH = 16 USER_PASSWORD_MIN_LENGTH = 8 SPACE = " " LETTERS_LOWERCASE = "abcdefghijklmnopqrstuvwxyz" LETTERS_UPPERCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" NUMBER = "1234567890" EN_SPECIAL_CHAR = "~`!@#$%^&*()-_=+[{]}\\|;:'\",<.>/?" USER_ENABLE = 1 USER_DISABLE = 2 )
Variables ¶
This section is empty.
Functions ¶
func IsChineseChar ¶
func PasswordValidate ¶
func PasswordValidate(password string, privateKey *rsa2.PrivateKey) (decryptedPassword string, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.