transient

package
v0.0.0-...-4955b9a Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	dbadapter.Store
}

Store is a wrapper for a MemDB with Commiter implementation

func NewStore

func NewStore() *Store

Constructs new MemDB adapter

func (*Store) Commit

func (ts *Store) Commit() (id types.CommitID)

Implements CommitStore Commit cleans up Store.

func (*Store) GetStoreType

func (ts *Store) GetStoreType() types.StoreType

Implements Store.

func (*Store) LastCommitID

func (ts *Store) LastCommitID() (id types.CommitID)

Implements CommitStore

func (*Store) SetPruning

func (ts *Store) SetPruning(pruning types.PruningOptions)

Implements CommitStore

Jump to

Keyboard shortcuts

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