uploader

package
v0.29.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2023 License: AGPL-3.0 Imports: 4 Imported by: 1

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL