Documentation ¶
Overview ¶
Package leveldbstore implements a simple key-value local store. It's efficient and can be used by stores to save key-value pairs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Path where key-value pairs will be saved. Path string }
Config contains configuration options for the store.
type LevelDBStore ¶
type LevelDBStore struct {
// contains filtered or unexported fields
}
LevelDBStore implements github.com/stratumn/go-core/store.KeyValueStore.
func New ¶
func New(config *Config) (*LevelDBStore, error)
New creates an instance of a LevelDBStore.
func (*LevelDBStore) DeleteValue ¶
DeleteValue implements github.com/stratumn/go-core/store.KeyValueStore.DeleteValue.
Click to show internal directories.
Click to hide internal directories.