jobs

package
v0.73.21 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 27 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 WithLogger

func WithLogger(l *zerolog.Logger) JobsControllerOpt

func WithMessageQueue

func WithMessageQueue(mq msgqueue.MessageQueue) JobsControllerOpt

func WithPartition

func WithPartition(p *partition.Partition) JobsControllerOpt

func WithPgxStatsLoggerConfig

func WithPgxStatsLoggerConfig(lc *shared.LoggerConfigFile) JobsControllerOpt

func WithQueueLoggerConfig

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