Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewToggleUploaderCommand ¶
func NewToggleUploaderCommand() commands.AdminCommand
Types ¶
type ToggleUploaderCommand ¶
type ToggleUploaderCommand struct{}
func (*ToggleUploaderCommand) Handler ¶
func (t *ToggleUploaderCommand) Handler(ctx context.Context, req *admin.CommandRequest) (interface{}, error)
func (*ToggleUploaderCommand) Validator ¶
func (t *ToggleUploaderCommand) Validator(req *admin.CommandRequest) error
Validator validates the request. Returns admin.InvalidAdminReqError for invalid/malformed requests.
Click to show internal directories.
Click to hide internal directories.