Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewToggleUploaderCommand ¶
func NewToggleUploaderCommand(uploadManager *uploader.Manager) commands.AdminCommand
Types ¶
type ToggleUploaderCommand ¶
type ToggleUploaderCommand struct {
// contains filtered or unexported fields
}
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.