bookkeeping

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Category

type Category int
const (
	PvtdataExpiry Category = iota

	MetadataPresenceIndicator
)

type Provider

type Provider interface {
	GetDBHandle(ledgerID string, cat Category) *leveldbhelper.DBHandle

	Close()
}

func NewProvider

func NewProvider(dbPath string) (Provider, error)

type TestEnv

type TestEnv struct {
	TestProvider Provider
	// contains filtered or unexported fields
}

func NewTestEnv

func NewTestEnv(t testing.TB) *TestEnv

func (*TestEnv) Cleanup

func (te *TestEnv) Cleanup()

Jump to

Keyboard shortcuts

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