Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Registry = namedstruct.NewStructs()
Functions ¶
This section is empty.
Types ¶
type Login ¶
type Login struct { User string `validate:"required,username"` Pass string `validate:"required,min=8,max=64"` Code string `validate:"required"` }
Login 登录表单值(暂未使用)
type Register ¶
type Setup ¶
type Setup struct { Type string `validate:"required"` User string Password string Host string Database string `validate:"required"` Charset string `validate:"omitempty,alphanum"` AdminUser string `validate:"username"` AdminPass string `validate:"required,min=8,max=64"` AdminEmail string `validate:"required,email"` }
Click to show internal directories.
Click to hide internal directories.