retention

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	BatchSize = 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RetentionService

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

func NewRetentionService

func NewRetentionService(
	cfg modules.RetentionConfig,
	db *db.DB,
	log *zap.SugaredLogger,
	scheduler schedule.Scheduler,
) *RetentionService

func (*RetentionService) Name

func (s *RetentionService) Name() string

func (*RetentionService) Start

func (s *RetentionService) Start() error

func (*RetentionService) Stop

func (s *RetentionService) Stop(ctx context.Context) error

Jump to

Keyboard shortcuts

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