Documentation ¶
Index ¶
- type Archive
- func (r *Archive) Attributes(ctx http.Context) map[string]string
- func (r *Archive) Authorize(ctx http.Context) error
- func (r *Archive) Filters(ctx http.Context) map[string]string
- func (r *Archive) Messages(ctx http.Context) map[string]string
- func (r *Archive) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Archive) Rules(ctx http.Context) map[string]string
- type Copy
- func (r *Copy) Attributes(ctx http.Context) map[string]string
- func (r *Copy) Authorize(ctx http.Context) error
- func (r *Copy) Filters(ctx http.Context) map[string]string
- func (r *Copy) Messages(ctx http.Context) map[string]string
- func (r *Copy) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Copy) Rules(ctx http.Context) map[string]string
- type Exist
- func (r *Exist) Attributes(ctx http.Context) map[string]string
- func (r *Exist) Authorize(ctx http.Context) error
- func (r *Exist) Filters(ctx http.Context) map[string]string
- func (r *Exist) Messages(ctx http.Context) map[string]string
- func (r *Exist) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Exist) Rules(ctx http.Context) map[string]string
- type Move
- func (r *Move) Attributes(ctx http.Context) map[string]string
- func (r *Move) Authorize(ctx http.Context) error
- func (r *Move) Filters(ctx http.Context) map[string]string
- func (r *Move) Messages(ctx http.Context) map[string]string
- func (r *Move) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Move) Rules(ctx http.Context) map[string]string
- type NotExist
- func (r *NotExist) Attributes(ctx http.Context) map[string]string
- func (r *NotExist) Authorize(ctx http.Context) error
- func (r *NotExist) Filters(ctx http.Context) map[string]string
- func (r *NotExist) Messages(ctx http.Context) map[string]string
- func (r *NotExist) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *NotExist) Rules(ctx http.Context) map[string]string
- type Permission
- func (r *Permission) Attributes(ctx http.Context) map[string]string
- func (r *Permission) Authorize(ctx http.Context) error
- func (r *Permission) Filters(ctx http.Context) map[string]string
- func (r *Permission) Messages(ctx http.Context) map[string]string
- func (r *Permission) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Permission) Rules(ctx http.Context) map[string]string
- type Save
- func (r *Save) Attributes(ctx http.Context) map[string]string
- func (r *Save) Authorize(ctx http.Context) error
- func (r *Save) Filters(ctx http.Context) map[string]string
- func (r *Save) Messages(ctx http.Context) map[string]string
- func (r *Save) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Save) Rules(ctx http.Context) map[string]string
- type Search
- func (r *Search) Attributes(ctx http.Context) map[string]string
- func (r *Search) Authorize(ctx http.Context) error
- func (r *Search) Filters(ctx http.Context) map[string]string
- func (r *Search) Messages(ctx http.Context) map[string]string
- func (r *Search) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Search) Rules(ctx http.Context) map[string]string
- type UnArchive
- func (r *UnArchive) Attributes(ctx http.Context) map[string]string
- func (r *UnArchive) Authorize(ctx http.Context) error
- func (r *UnArchive) Filters(ctx http.Context) map[string]string
- func (r *UnArchive) Messages(ctx http.Context) map[string]string
- func (r *UnArchive) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *UnArchive) Rules(ctx http.Context) map[string]string
- type Upload
- func (r *Upload) Attributes(ctx http.Context) map[string]string
- func (r *Upload) Authorize(ctx http.Context) error
- func (r *Upload) Filters(ctx http.Context) map[string]string
- func (r *Upload) Messages(ctx http.Context) map[string]string
- func (r *Upload) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Upload) Rules(ctx http.Context) map[string]string
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) PrepareForValidation ¶
type Copy ¶
type Copy struct { Source string `form:"source" json:"source"` Target string `form:"target" json:"target"` }
func (*Copy) PrepareForValidation ¶
type Exist ¶
type Exist struct {
Path string `form:"path" json:"path"`
}
func (*Exist) PrepareForValidation ¶
type Move ¶
type Move struct { Source string `form:"source" json:"source"` Target string `form:"target" json:"target"` }
func (*Move) PrepareForValidation ¶
type NotExist ¶
type NotExist struct {
Path string `form:"path" json:"path"`
}
func (*NotExist) PrepareForValidation ¶
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) PrepareForValidation ¶
func (r *Permission) PrepareForValidation(ctx http.Context, data validation.Data) error
type Save ¶
type Save struct { Path string `form:"path" json:"path"` Content string `form:"content" json:"content"` }
func (*Save) PrepareForValidation ¶
type Search ¶
type Search struct { Path string `form:"path" json:"path"` KeyWord string `form:"keyword" json:"keyword"` }
func (*Search) PrepareForValidation ¶
type UnArchive ¶
type UnArchive struct { File string `form:"file" json:"file"` Path string `form:"path" json:"path"` }
func (*UnArchive) PrepareForValidation ¶
type Upload ¶
type Upload struct { Path string `form:"path" json:"path"` File *multipart.FileHeader `form:"file" json:"file"` }
func (*Upload) PrepareForValidation ¶
Click to show internal directories.
Click to hide internal directories.