worker

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncWorker

type FuncWorker struct {
	F    interface{}
	Name string
}

func (FuncWorker) Run

func (f FuncWorker) Run(ctl *controller.TaskCtl, funcArgs []string, result *message.Result) error

func (FuncWorker) WorkerName

func (f FuncWorker) WorkerName() string

type WorkerInterface

type WorkerInterface interface {
	Run(ctl *controller.TaskCtl, funcArgs []string, result *message.Result) error
	WorkerName() string
}

Jump to

Keyboard shortcuts

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