worker

package
v0.0.0-...-d263f1c Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWorker

func NewWorker() error

func PostTaskHandler

func PostTaskHandler(signature *tasks.Signature)

func PreTaskHandler

func PreTaskHandler(signature *tasks.Signature)

Types

type WorkerClient

type WorkerClient struct {
	Server *machinery.Server
}

func NewWorkerClient

func NewWorkerClient() *WorkerClient

func (*WorkerClient) SendTask

func (wc *WorkerClient) SendTask(job models.Job) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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