dbpurge

package
v2.36.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New creates a new periodically purging database instance. Callers must Close the returned instance.

Types

type Option added in v2.33.0

type Option func(*instance)

func WithChatSearchBackfillLimits added in v2.36.0

func WithChatSearchBackfillLimits(batchSize int32, maxBatches int) Option

WithChatSearchBackfillLimits overrides backfill batch size and cap. For tests.

func WithClock added in v2.33.0

func WithClock(clk quartz.Clock) Option

WithClock overrides the clock used by the purger. Defaults to quartz.NewReal().

Jump to

Keyboard shortcuts

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