task

package
v0.55.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const BULK_MSG_BATCH_SIZE = 50

Variables

This section is empty.

Functions

This section is empty.

Types

type TasksController

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

type TasksControllerImpl

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

func (*TasksControllerImpl) Start

func (tc *TasksControllerImpl) Start() (func() error, error)

type TasksControllerOpt

type TasksControllerOpt func(*TasksControllerOpts)

func WithLogger

func WithLogger(l *zerolog.Logger) TasksControllerOpt

func WithPartition

func WithPartition(p *partition.Partition) TasksControllerOpt

func WithPgxStatsLoggerConfig

func WithPgxStatsLoggerConfig(lc *shared.LoggerConfigFile) TasksControllerOpt

func WithQueueLoggerConfig

func WithQueueLoggerConfig(lc *shared.LoggerConfigFile) TasksControllerOpt

func WithV1Repository

func WithV1Repository(r v1.Repository) TasksControllerOpt

type TasksControllerOpts

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

Jump to

Keyboard shortcuts

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