Documentation
¶
Index ¶
- type Create
- func (r *Create) Attributes(ctx http.Context) map[string]string
- func (r *Create) Authorize(ctx http.Context) error
- func (r *Create) Filters(ctx http.Context) map[string]string
- func (r *Create) Messages(ctx http.Context) map[string]string
- func (r *Create) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Create) Rules(ctx http.Context) map[string]string
- type Update
- func (r *Update) Attributes(ctx http.Context) map[string]string
- func (r *Update) Authorize(ctx http.Context) error
- func (r *Update) Filters(ctx http.Context) map[string]string
- func (r *Update) Messages(ctx http.Context) map[string]string
- func (r *Update) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *Update) Rules(ctx http.Context) map[string]string
- type UpdateConfig
- func (r *UpdateConfig) Attributes(ctx http.Context) map[string]string
- func (r *UpdateConfig) Authorize(ctx http.Context) error
- func (r *UpdateConfig) Filters(ctx http.Context) map[string]string
- func (r *UpdateConfig) Messages(ctx http.Context) map[string]string
- func (r *UpdateConfig) PrepareForValidation(ctx http.Context, data validation.Data) error
- func (r *UpdateConfig) Rules(ctx http.Context) map[string]string
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) PrepareForValidation ¶
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) PrepareForValidation ¶
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) PrepareForValidation ¶
func (r *UpdateConfig) PrepareForValidation(ctx http.Context, data validation.Data) error
Click to show internal directories.
Click to hide internal directories.