factory

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: BSD-2-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCleanHandler

func CreateCleanHandler(
	ctx context.Context,
	db libkv.DB,
	bleveIndex bleve.Index,
	currentDateTime libtime.CurrentDateTime,
	defaultMaxAge libtime.Duration,
	defaultCleanLimit int,
) http.Handler

func CreateCleanerCron

func CreateCleanerCron(
	sentryClient libsentry.Client,
	db libkv.DB,
	bleveIndex bleve.Index,
	currentDateTime libtime.CurrentDateTime,
	maxAge libtime.Duration,
	cleanLimit int,
	cronExpression libcron.Expression,
) run.Func

func CreateGetNotificationHandler

func CreateGetNotificationHandler(db libkv.DB) http.Handler

func CreateListNotificationsHandler

func CreateListNotificationsHandler(bleveIndex bleve.Index, db libkv.DB) http.Handler

func CreateNotificationConsumer

func CreateNotificationConsumer(
	saramaClientProvider libkafka.SaramaClientProvider,
	bleveIndex bleve.Index,
	db libkv.DB,
	branch base.Branch,
	batchSize libkafka.BatchSize,
) run.Func

func CreateStatusHandler

func CreateStatusHandler(bleveIndex bleve.Index, db libkv.DB) http.Handler

func NewNotificationCleaner

func NewNotificationCleaner(
	bleveIndex bleve.Index,
	currentDateTime libtime.CurrentDateTime,
) pkg.NotificationCleaner

Types

This section is empty.

Jump to

Keyboard shortcuts

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