Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InstallForm ¶
type InstallForm struct { DbType string `binding:"In(mysql)"` DbHost string `binding:"Required;MaxSize(50)"` DbPort int `binding:"Required;Range(1,65535)"` DbUsername string `binding:"Required;MaxSize(50)"` DbPassword string `binding:"Required;MaxSize(30)"` DbName string `binding:"Required;MaxSize(50)"` DbTablePrefix string `binding:"MaxSize(20)"` AdminUsername string `binding:"Required;MinSize(3)"` AdminPassword string `binding:"Required;MinSize(6)"` ConfirmAdminPassword string `binding:"Required;MinSize(6)"` AdminEmail string `binding:"Required;Email;MaxSize(50)"` }
func (InstallForm) Error ¶
func (f InstallForm) Error(ctx *macaron.Context, errs binding.Errors)
Click to show internal directories.
Click to hide internal directories.