messages

package
v1.35.7 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module() fx.Option

func NewCleanupTask

func NewCleanupTask(
	config CleanupConfig,
	messages *messages.Repository,
	logger *zap.Logger,
) executor.PeriodicTask

func NewInitialHashingTask

func NewInitialHashingTask(
	config HashingConfig,
	messages *messages.Repository,
	logger *zap.Logger,
) executor.PeriodicTask

Types

type CleanupConfig

type CleanupConfig struct {
	Interval time.Duration
	MaxAge   time.Duration
}

type Config

type Config struct {
	Hashing HashingConfig
	Cleanup CleanupConfig
}

type HashingConfig

type HashingConfig struct {
	Interval time.Duration
}

Jump to

Keyboard shortcuts

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