txnpruner

package
v0.0.0-...-6cf1bc9 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2016 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(tp TransactionPruner, interval time.Duration, clock clock.Clock) worker.Worker

New returns a worker which periodically prunes the data for completed transactions.

Types

type TransactionPruner

type TransactionPruner interface {
	MaybePruneTransactions() error
}

TransactionPruner defines the interface for types capable of pruning transactions.

Jump to

Keyboard shortcuts

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