wiper

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DBWipeInterval = 1 * time.Hour
	WipeBefore     = time.Now().Add(-1 * time.Hour).Unix()
)

Functions

This section is empty.

Types

type DBWiper

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

func NewDBWiper

func NewDBWiper(dao *dao.DaoManager) *DBWiper

func (*DBWiper) DBWipe

func (w *DBWiper) DBWipe() error

func (*DBWiper) DBWipeLoop

func (w *DBWiper) DBWipeLoop()

Jump to

Keyboard shortcuts

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