Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TokenBytes Token字节数组长度 TokenBytes = 16 // DefaultProfilePicture 注册账户的默认头像 DefaultProfilePicture = "http://127.0.0.1:10000" + view.ShowAvatarUrl + "default.jpg" )
View Source
const ( NameMinLen = 3 NameMaxLen = 18 PassMinLen = 6 PassMaxLen = 20 PassMinLevel = PassLevelB )
注册要求
View Source
const ( PassLevelD = iota PassLevelC PassLevelB PassLevelA PassLevelS )
密码强度
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.