servercleaner

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opts

type Opts struct {
	Retention time.Duration
}

type ServerCleaner

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

func New

func New(
	manager *cleanup.Manager,
	opts Opts,
	serverRepo repositories.ServerRepository,
	clock clockwork.Clock,
	metrics *metrics.Collector,
	logger *zerolog.Logger,
) ServerCleaner

func (ServerCleaner) Clean

func (c ServerCleaner) Clean(ctx context.Context)

Jump to

Keyboard shortcuts

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