Help us shape the future of Go! Take the 2026 Go Developer Survey

retention

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleaner

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

func New

func New(store Store, logger *slog.Logger, keep time.Duration) *Cleaner

func (*Cleaner) Run

func (c *Cleaner) Run(ctx context.Context) error

type Store

type Store interface {
	DeleteFinishedExecutions(ctx context.Context, finishedBefore time.Time, limit int) (int, error)
}

Jump to

Keyboard shortcuts

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