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 Https

type Https struct {
	Https bool   `form:"https" json:"https"`
	Cert  string `form:"cert" json:"cert"`
	Key   string `form:"key" json:"key"`
}

func (*Https) Attributes

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

func (*Https) Authorize

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

func (*Https) Filters

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

func (*Https) Messages

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

func (*Https) PrepareForValidation

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

func (*Https) Rules

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

type Update

type Update struct {
	Name        string `form:"name" json:"name"`
	Language    string `form:"language" json:"language"`
	Port        uint   `form:"port" json:"port"`
	BackupPath  string `form:"backup_path" json:"backup_path"`
	WebsitePath string `form:"website_path" json:"website_path"`
	Entrance    string `form:"entrance" json:"entrance"`
	UserName    string `form:"username" json:"username"`
	Email       string `form:"email" json:"email"`
	Password    string `form:"password" json:"password"`
}

func (*Update) Attributes

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

func (*Update) Authorize

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

func (*Update) Filters

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

func (*Update) Messages

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

func (*Update) PrepareForValidation

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

func (*Update) Rules

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