jobs

package
v0.51.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobsController

type JobsController interface {
	Start(ctx context.Context) error
}

type JobsControllerImpl

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

func New

func (*JobsControllerImpl) Start

func (jc *JobsControllerImpl) Start() (func() error, error)

type JobsControllerOpt

type JobsControllerOpt func(*JobsControllerOpts)

func WithAlerter added in v0.15.2

func WithLogger

func WithLogger(l *zerolog.Logger) JobsControllerOpt

func WithMessageQueue added in v0.16.0

func WithMessageQueue(mq msgqueue.MessageQueue) JobsControllerOpt

func WithPartition added in v0.43.1

func WithPartition(p *partition.Partition) JobsControllerOpt

func WithPgxStatsLoggerConfig added in v0.43.2

func WithPgxStatsLoggerConfig(lc *shared.LoggerConfigFile) JobsControllerOpt

func WithQueueLoggerConfig added in v0.43.2

func WithQueueLoggerConfig(lc *shared.LoggerConfigFile) JobsControllerOpt

type JobsControllerOpts

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

Jump to

Keyboard shortcuts

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