tasks

package
v0.0.0-...-8a95c62 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseTask

type BaseTask struct {
	Name string
	// contains filtered or unexported fields
}

type TaskInterface

type TaskInterface interface {
	SendSync(args []tasks.Arg) ([]reflect.Value, *models.Error)
	SendAsync(args []tasks.Arg) (*result.AsyncResult, *models.Error)
	Register() *models.Error
	Test()
	GetName() string
	SetServer(server *machinery.Server)
	// contains filtered or unexported methods
}

func NewDownloadTask

func NewDownloadTask(service services.ResourceService) TaskInterface

func NewTestTask

func NewTestTask() TaskInterface

Jump to

Keyboard shortcuts

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