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 Create

type Create struct {
	Name       string `form:"name" json:"name"`
	Path       string `form:"path" json:"path"`
	Comment    string `form:"comment" json:"comment"`
	AuthUser   string `form:"auth_user" json:"auth_user"`
	Secret     string `form:"secret" json:"secret"`
	HostsAllow string `form:"hosts_allow" json:"hosts_allow"`
}

func (*Create) Attributes

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

func (*Create) Authorize

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

func (*Create) Filters

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

func (*Create) Messages

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

func (*Create) PrepareForValidation

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

func (*Create) Rules

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

type Update

type Update struct {
	Name       string `form:"name" json:"name"`
	Path       string `form:"path" json:"path"`
	Comment    string `form:"comment" json:"comment"`
	AuthUser   string `form:"auth_user" json:"auth_user"`
	Secret     string `form:"secret" json:"secret"`
	HostsAllow string `form:"hosts_allow" json:"hosts_allow"`
}

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

type UpdateConfig

type UpdateConfig struct {
	Config string `form:"config" json:"config"`
}

func (*UpdateConfig) Attributes

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

func (*UpdateConfig) Authorize

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

func (*UpdateConfig) Filters

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

func (*UpdateConfig) Messages

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

func (*UpdateConfig) PrepareForValidation

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

func (*UpdateConfig) Rules

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