package
1.8.15
Repository: https://github.com/allmaxgit/go-ethereum.git
Documentation: pkg.go.dev

# Functions

NewDBStore creates a new instance of DBStore.
NewInmemoryStore returns a new instance of InmemoryStore.

# Variables

ErrInvalidArgument is returned when the argument type does not match the expected type.
ErrNotFound is returned when no results are returned from the database.

# Structs

DBStore uses LevelDB to store values.
InmemoryStore is the reference implementation of Store interface that is supposed to be used in tests.

# Interfaces

Store defines methods required to get, set, delete values for different keys and close the underlying resources.