requests

package
v2.2.27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

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) Attributes

func (r *Add) Attributes(ctx http.Context) map[string]string

func (*Add) Authorize

func (r *Add) Authorize(ctx http.Context) error

func (*Add) Filters

func (r *Add) Filters(ctx http.Context) map[string]string

func (*Add) Messages

func (r *Add) Messages(ctx http.Context) map[string]string

func (*Add) PrepareForValidation

func (r *Add) PrepareForValidation(ctx http.Context, data validation.Data) error

func (*Add) Rules

func (r *Add) Rules(ctx http.Context) map[string]string

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) Attributes

func (r *Delete) Attributes(ctx http.Context) map[string]string

func (*Delete) Authorize

func (r *Delete) Authorize(ctx http.Context) error

func (*Delete) Filters

func (r *Delete) Filters(ctx http.Context) map[string]string

func (*Delete) Messages

func (r *Delete) Messages(ctx http.Context) map[string]string

func (*Delete) PrepareForValidation

func (r *Delete) PrepareForValidation(ctx http.Context, data validation.Data) error

func (*Delete) Rules

func (r *Delete) Rules(ctx http.Context) map[string]string

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) Authorize

func (r *DeleteBackup) Authorize(ctx http.Context) error

func (*DeleteBackup) Filters

func (r *DeleteBackup) Filters(ctx http.Context) map[string]string

func (*DeleteBackup) Messages

func (r *DeleteBackup) Messages(ctx http.Context) map[string]string

func (*DeleteBackup) PrepareForValidation

func (r *DeleteBackup) PrepareForValidation(ctx http.Context, data validation.Data) error

func (*DeleteBackup) Rules

func (r *DeleteBackup) Rules(ctx http.Context) map[string]string

type ID

type ID struct {
	ID uint `form:"id" json:"id"`
}

func (*ID) Attributes

func (r *ID) Attributes(ctx http.Context) map[string]string

func (*ID) Authorize

func (r *ID) Authorize(ctx http.Context) error

func (*ID) Filters

func (r *ID) Filters(ctx http.Context) map[string]string

func (*ID) Messages

func (r *ID) Messages(ctx http.Context) map[string]string

func (*ID) PrepareForValidation

func (r *ID) PrepareForValidation(ctx http.Context, data validation.Data) error

func (*ID) Rules

func (r *ID) Rules(ctx http.Context) map[string]string

type RestoreBackup

type RestoreBackup struct {
	ID   uint   `form:"id" json:"id"`
	Name string `form:"name" json:"name"`
}

func (*RestoreBackup) Attributes

func (r *RestoreBackup) Attributes(ctx http.Context) map[string]string

func (*RestoreBackup) Authorize

func (r *RestoreBackup) Authorize(ctx http.Context) error

func (*RestoreBackup) Filters

func (r *RestoreBackup) Filters(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

func (*RestoreBackup) Rules

func (r *RestoreBackup) Rules(ctx http.Context) map[string]string

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) Authorize

func (r *SaveConfig) Authorize(ctx http.Context) error

func (*SaveConfig) Filters

func (r *SaveConfig) Filters(ctx http.Context) map[string]string

func (*SaveConfig) Messages

func (r *SaveConfig) Messages(ctx http.Context) map[string]string

func (*SaveConfig) PrepareForValidation

func (r *SaveConfig) PrepareForValidation(ctx http.Context, data validation.Data) error

func (*SaveConfig) Rules

func (r *SaveConfig) Rules(ctx http.Context) map[string]string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL