Documentation ¶
Index ¶
- type Add
- func (r *Add) Attributes(ctx http.Context) map[string]string
- func (r *Add) Authorize(ctx http.Context) error
- func (r *Add) Filters(ctx http.Context) map[string]string
- func (r *Add) Messages(ctx http.Context) map[string]string
- func (r *Add) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Add) Rules(ctx http.Context) map[string]string
- type Delete
- func (r *Delete) Attributes(ctx http.Context) map[string]string
- func (r *Delete) Authorize(ctx http.Context) error
- func (r *Delete) Filters(ctx http.Context) map[string]string
- func (r *Delete) Messages(ctx http.Context) map[string]string
- func (r *Delete) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Delete) Rules(ctx http.Context) map[string]string
- type DeleteBackup
- func (r *DeleteBackup) Attributes(ctx http.Context) map[string]string
- func (r *DeleteBackup) Authorize(ctx http.Context) error
- func (r *DeleteBackup) Filters(ctx http.Context) map[string]string
- func (r *DeleteBackup) Messages(ctx http.Context) map[string]string
- func (r *DeleteBackup) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *DeleteBackup) Rules(ctx http.Context) map[string]string
- type ID
- func (r *ID) Attributes(ctx http.Context) map[string]string
- func (r *ID) Authorize(ctx http.Context) error
- func (r *ID) Filters(ctx http.Context) map[string]string
- func (r *ID) Messages(ctx http.Context) map[string]string
- func (r *ID) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *ID) Rules(ctx http.Context) map[string]string
- type RestoreBackup
- func (r *RestoreBackup) Attributes(ctx http.Context) map[string]string
- func (r *RestoreBackup) Authorize(ctx http.Context) error
- func (r *RestoreBackup) Filters(ctx http.Context) map[string]string
- func (r *RestoreBackup) Messages(ctx http.Context) map[string]string
- func (r *RestoreBackup) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *RestoreBackup) Rules(ctx http.Context) map[string]string
- type SaveConfig
- func (r *SaveConfig) Attributes(ctx http.Context) map[string]string
- func (r *SaveConfig) Authorize(ctx http.Context) error
- func (r *SaveConfig) Filters(ctx http.Context) map[string]string
- func (r *SaveConfig) Messages(ctx http.Context) map[string]string
- func (r *SaveConfig) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *SaveConfig) Rules(ctx http.Context) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Add ¶
type Add struct { Name string `form:"name" json:"name"` Domains []string `form:"domains" json:"domains"` Ports []uint `form:"ports" json:"ports"` Path string `form:"path" json:"path"` PHP string `form:"php" json:"php"` DB bool `form:"db" json:"db"` DBType string `form:"db_type" json:"db_type"` DBName string `form:"db_name" json:"db_name"` DBUser string `form:"db_user" json:"db_user"` DBPassword string `form:"db_password" json:"db_password"` }
func (*Add) PrepareForValidation ¶
type Delete ¶
type Delete struct { ID uint `form:"id" json:"id"` Path bool `form:"path" json:"path"` DB bool `form:"db" json:"db"` }
func (*Delete) PrepareForValidation ¶
type DeleteBackup ¶
type DeleteBackup struct {
Name string `form:"name" json:"name"`
}
func (*DeleteBackup) Attributes ¶
func (r *DeleteBackup) Attributes(ctx http.Context) map[string]string
func (*DeleteBackup) PrepareForValidation ¶
func (r *DeleteBackup) PrepareForValidation(ctx http.Context, data validation.Data) error
type RestoreBackup ¶
func (*RestoreBackup) Attributes ¶
func (r *RestoreBackup) Attributes(ctx http.Context) map[string]string
func (*RestoreBackup) Messages ¶
func (r *RestoreBackup) Messages(ctx http.Context) map[string]string
func (*RestoreBackup) PrepareForValidation ¶
func (r *RestoreBackup) PrepareForValidation(ctx http.Context, data validation.Data) error
type SaveConfig ¶
type SaveConfig struct { ID uint `form:"id" json:"id"` Domains []string `form:"domains" json:"domains"` Ports []uint `form:"ports" json:"ports"` SSLPorts []uint `form:"ssl_ports" json:"ssl_ports"` QUICPorts []uint `form:"quic_ports" json:"quic_ports"` OCSP bool `form:"ocsp" json:"ocsp"` HSTS bool `form:"hsts" json:"hsts"` SSL bool `form:"ssl" json:"ssl"` HTTPRedirect bool `form:"http_redirect" json:"http_redirect"` OpenBasedir bool `form:"open_basedir" json:"open_basedir"` Waf bool `form:"waf" json:"waf"` WafCache string `form:"waf_cache" json:"waf_cache"` WafMode string `form:"waf_mode" json:"waf_mode"` WafCcDeny string `form:"waf_cc_deny" json:"waf_cc_deny"` Index string `form:"index" json:"index"` Path string `form:"path" json:"path"` Root string `form:"root" json:"root"` Raw string `form:"raw" json:"raw"` Rewrite string `form:"rewrite" json:"rewrite"` PHP int `form:"php" json:"php"` SSLCertificate string `form:"ssl_certificate" json:"ssl_certificate"` SSLCertificateKey string `form:"ssl_certificate_key" json:"ssl_certificate_key"` }
func (*SaveConfig) Attributes ¶
func (r *SaveConfig) Attributes(ctx http.Context) map[string]string
func (*SaveConfig) PrepareForValidation ¶
func (r *SaveConfig) PrepareForValidation(ctx http.Context, data validation.Data) error
Click to show internal directories.
Click to hide internal directories.