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
Click to show internal directories.
Click to hide internal directories.