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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive struct {
	Paths []string `form:"paths" json:"paths"`
	File  string   `form:"file" json:"file"`
}

func (*Archive) Attributes

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

func (*Archive) Authorize

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

func (*Archive) Filters

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

func (*Archive) Messages

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

func (*Archive) PrepareForValidation

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

func (*Archive) Rules

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

type Copy

type Copy struct {
	Source string `form:"source" json:"source"`
	Target string `form:"target" json:"target"`
}

func (*Copy) Attributes

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

func (*Copy) Authorize

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

func (*Copy) Filters

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

func (*Copy) Messages

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

func (*Copy) PrepareForValidation

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

func (*Copy) Rules

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

type Exist

type Exist struct {
	Path string `form:"path" json:"path"`
}

func (*Exist) Attributes

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

func (*Exist) Authorize

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

func (*Exist) Filters

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

func (*Exist) Messages

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

func (*Exist) PrepareForValidation

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

func (*Exist) Rules

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

type Move

type Move struct {
	Source string `form:"source" json:"source"`
	Target string `form:"target" json:"target"`
}

func (*Move) Attributes

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

func (*Move) Authorize

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

func (*Move) Filters

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

func (*Move) Messages

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

func (*Move) PrepareForValidation

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

func (*Move) Rules

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

type NotExist

type NotExist struct {
	Path string `form:"path" json:"path"`
}

func (*NotExist) Attributes

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

func (*NotExist) Authorize

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

func (*NotExist) Filters

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

func (*NotExist) Messages

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

func (*NotExist) PrepareForValidation

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

func (*NotExist) Rules

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

type Permission

type Permission struct {
	Path  string `form:"path" json:"path"`
	Mode  string `form:"mode" json:"mode"`
	Owner string `form:"owner" json:"owner"`
	Group string `form:"group" json:"group"`
}

func (*Permission) Attributes

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

func (*Permission) Authorize

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

func (*Permission) Filters

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

func (*Permission) Messages

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

func (*Permission) PrepareForValidation

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

func (*Permission) Rules

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

type Save

type Save struct {
	Path    string `form:"path" json:"path"`
	Content string `form:"content" json:"content"`
}

func (*Save) Attributes

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

func (*Save) Authorize

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

func (*Save) Filters

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

func (*Save) Messages

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

func (*Save) PrepareForValidation

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

func (*Save) Rules

func (r *Save) Rules(ctx http.Context) map[string]string
type Search struct {
	Path    string `form:"path" json:"path"`
	KeyWord string `form:"keyword" json:"keyword"`
}

func (*Search) Attributes

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

func (*Search) Authorize

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

func (*Search) Filters

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

func (*Search) Messages

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

func (*Search) PrepareForValidation

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

func (*Search) Rules

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

type UnArchive

type UnArchive struct {
	File string `form:"file" json:"file"`
	Path string `form:"path" json:"path"`
}

func (*UnArchive) Attributes

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

func (*UnArchive) Authorize

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

func (*UnArchive) Filters

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

func (*UnArchive) Messages

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

func (*UnArchive) PrepareForValidation

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

func (*UnArchive) Rules

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

type Upload

type Upload struct {
	Path string                `form:"path" json:"path"`
	File *multipart.FileHeader `form:"file" json:"file"`
}

func (*Upload) Attributes

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

func (*Upload) Authorize

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

func (*Upload) Filters

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

func (*Upload) Messages

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

func (*Upload) PrepareForValidation

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

func (*Upload) Rules

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