uploader

package
v0.33.33-pebble-chunk-... Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 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(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.

Jump to

Keyboard shortcuts

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