worker

package
v0.0.0-...-a51c0b6 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Worker

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

func NewWorker

func NewWorker(config config.WorkerConfig, store db.Store, executor *hooks.Executor, killSwitch chan struct{}) (*Worker, error)

func (*Worker) GetWorkerId

func (w *Worker) GetWorkerId() uuid.UUID

func (*Worker) Register

func (w *Worker) Register() error

func (*Worker) Work

func (w *Worker) Work()

Jump to

Keyboard shortcuts

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