garbagecollect

package
v2.0.0-...-ef57614 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: AGPL-3.0-or-later Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

func NewCollector

func NewCollector(purger DatabasePurger) Collector

func (*Collector) Collect

func (c *Collector) Collect() error

type DatabasePurger

type DatabasePurger interface {
	Purge() error
}

type Scheduler

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

func NewScheduler

func NewScheduler(collector *Collector, interval time.Duration) Scheduler

func (*Scheduler) StartAsync

func (s *Scheduler) StartAsync()

Jump to

Keyboard shortcuts

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