taskworker

package
v0.0.0-...-0f879ca Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TOTAL_RETRIES = 5

Variables

This section is empty.

Functions

This section is empty.

Types

type LHTaskWorker

type LHTaskWorker struct {
	// contains filtered or unexported fields
}

func NewTaskWorker

func NewTaskWorker(
	config *common.LHConfig,
	taskFunction interface{},
	taskDefName string,
) (*LHTaskWorker, error)

func (*LHTaskWorker) Close

func (tw *LHTaskWorker) Close() error

func (*LHTaskWorker) RegisterTaskDef

func (tw *LHTaskWorker) RegisterTaskDef(ignoreAlreadyExistsError bool) error

func (*LHTaskWorker) Start

func (tw *LHTaskWorker) Start() error

Jump to

Keyboard shortcuts

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