clean

package
v2.17.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package clean has the old actions results cleaner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CleanResults

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

CleanResults has unexported fields for the results cleanup function.

func New

func New(db *reform.DB) *CleanResults

New returns a new CleanResults instance.

func (*CleanResults) Run

func (c *CleanResults) Run(ctx context.Context, interval time.Duration, olderThan time.Duration)

Run starts the clean process.

Jump to

Keyboard shortcuts

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