purger

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EOSName

type EOSName uint64

func (EOSName) String

func (n EOSName) String() string

type LogFunc

type LogFunc func(facet accounthist.Facet, belowShardNum int, currentCount uint64)

type Purger

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

func NewPurger

func NewPurger(kvStore store.KVStore, facetFactory accounthist.FacetFactory, enableDryRun bool) *Purger

func (*Purger) PurgeAccounts

func (p *Purger) PurgeAccounts(ctx context.Context, maxEntriesPerAccount uint64, logFunc LogFunc) error

Jump to

Keyboard shortcuts

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