Help us shape the future of Go! Take the 2026 Go Developer Survey

task

package
v0.79.27 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: MIT Imports: 29 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 WithAnalyzeCronInterval

func WithAnalyzeCronInterval(interval time.Duration) TasksControllerOpt

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 WithReplayEnabled

func WithReplayEnabled(enabled bool) TasksControllerOpt

func WithV1Repository

func WithV1Repository(r v1.Repository) TasksControllerOpt

type TasksControllerOpts

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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