worker

package
v0.0.0-...-503b3aa Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 17 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 interface {
	Start(ticker *time.Ticker) error
}

func NewWorker

func NewWorker(ctx context.Context, workerpool *workerpool.WorkerPool, config config.ConfigClient, dotlanClient dotlan.DotlanDbClient, dbClient database.DatabaseClient, publisher message.Publisher, workitemLock workitemLock.WorkItemLock) Worker

type WorkerImpl

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

func (*WorkerImpl) Start

func (w *WorkerImpl) Start(ticker *time.Ticker) error

Jump to

Keyboard shortcuts

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