ticker

package
v0.51.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ticker

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

type TickerImpl

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

func New

func New(fs ...TickerOpt) (*TickerImpl, error)

func (*TickerImpl) Start

func (t *TickerImpl) Start() (func() error, error)

type TickerOpt

type TickerOpt func(*TickerOpts)

func WithEntitlementsRepository added in v0.31.0

func WithEntitlementsRepository(r repository.EntitlementsRepository) TickerOpt

func WithLogger

func WithLogger(l *zerolog.Logger) TickerOpt

func WithMessageQueue added in v0.16.0

func WithMessageQueue(mq msgqueue.MessageQueue) TickerOpt

func WithPartition added in v0.43.1

func WithPartition(p *partition.Partition) TickerOpt

func WithRepository

func WithRepository(r repository.EngineRepository) TickerOpt

func WithTenantAlerter added in v0.25.0

func WithTenantAlerter(ta *alerting.TenantAlertManager) TickerOpt

type TickerOpts

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

Jump to

Keyboard shortcuts

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