worker

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2022 License: MPL-2.0 Imports: 7 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterNewGroupTask

func RegisterNewGroupTask(applicationRepo datastore.ApplicationRepository, eventDeliveryRepo datastore.EventDeliveryRepository, groupRepo datastore.GroupRepository)

Types

type Cleaner

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

func NewCleaner

func NewCleaner(queue queue.Queuer) *Cleaner

func (*Cleaner) Close

func (p *Cleaner) Close() error

func (*Cleaner) Start

func (c *Cleaner) Start()

type Producer

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

func NewProducer

func NewProducer(queue queue.Queuer) *Producer

func (*Producer) Close

func (p *Producer) Close() error

func (*Producer) Start

func (p *Producer) Start(ctx context.Context)

type Worker

type Worker interface {
	Start(context.Context)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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