Documentation ¶
Index ¶
- func AssignForm(form interface{}, data map[string]interface{})
- func GetInclude(field reflect.StructField) string
- func GetMaxSize(field reflect.StructField) string
- func GetMinSize(field reflect.StructField) string
- func GetSize(field reflect.StructField) string
- type AppAddForm
- type AppOrDeploymentOption
- type ChangePasswordForm
- type Form
- type InstallForm
- type PackageInfo
- type ReportStatus
- type SignInForm
- type SignUpForm
- type UpdatePackageInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssignForm ¶
func AssignForm(form interface{}, data map[string]interface{})
func GetInclude ¶
func GetInclude(field reflect.StructField) string
func GetMaxSize ¶
func GetMaxSize(field reflect.StructField) string
func GetMinSize ¶
func GetMinSize(field reflect.StructField) string
func GetSize ¶
func GetSize(field reflect.StructField) string
Types ¶
type AppAddForm ¶
type AppOrDeploymentOption ¶
type AppOrDeploymentOption struct {
Name string `json:"name" binding:"Required"`
}
type ChangePasswordForm ¶
type InstallForm ¶
type InstallForm struct { RunUser string `form:"run_user" binding:"Required"` Domain string `form:"domain" binding:"Required"` AppName string `form:"app_name"` AppURL string `form:"app_url" binding:"Required"` HTTPPort string `form:"http_port"` DbType string `form:"db_type" binding:"Required"` DbHost string `form:"db_host"` DbUser string `form:"db_user"` DbPasswd string `form:"db_passwd"` DbName string `form:"db_name"` SSLMode string `form:"ssl_mode"` DbPath string `form:"db_path"` StorageType string `form:"storage_type"` StorageDownloadURL string `form:"storage_download_url"` StoragePath string `form:"storage_path"` StorageAccessKey string `form:"storage_access_key"` StorageSecretKey string `form:"storage_secret_key"` StorageBucketName string `form:"storage_bucket_name"` StorageEndpoint string `form:"storage_endpoint"` StorageZone string `form:"storage_zone"` StoragePrefix string `form:"storage_prefix"` LogRootPath string `form:"log_path"` SMTPHost string `form:"smtp_host"` SMTPUser string `form:"mailer_user"` SMTPFrom string `form:"mailer_from"` SMTPPasswd string `form:"mailer_pwd"` RegisterConfirm bool `form:"register_confirm"` MailNotify bool `form:"mail_notify"` DisableRegistration bool `form:"disable_registration"` EnableCaptcha bool `form:"enable_captcha"` RequireSignInView bool `form:"require_sign_in_view"` AdminName string `form:"admin_name" binding:"Required;AlphaDashDot;MaxSize(30)"` AdminPasswd string `form:"admin_pwd" binding:"Required;MinSize(6);MaxSize(255)"` ConfirmPasswd string `form:"confirm_passwd" binding:"Required;MinSize(6);MaxSize(255)"` AdminEmail string `form:"admin_email" binding:"Required;Email;MaxSize(50)"` }
type PackageInfo ¶
type ReportStatus ¶
type ReportStatus struct { AppVersion *string `json:"appVersion"` DeploymentKey *string `json:"deploymentKey"` Label *string `json:"label"` Status *string `json:"status"` ClientUniqueId *string `json:"clientUniqueId"` PreviousDeploymentKey *string `json:"previousDeploymentKey"` PreviousLabelOrAppVersion *string `json:"previousLabelOrAppVersion"` }
type SignInForm ¶
type SignUpForm ¶
type UpdatePackageInfo ¶
type UpdatePackageInfo struct {
PackageInfo *PackageInfo `json:"packageInfo"`
}
Click to show internal directories.
Click to hide internal directories.