Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrClosed = errors.New("db is closed") ErrNotFound = errors.New("key not found") ErrBatchDone = errors.New("batch is already committed or closed") ErrIteratorInvalid = errors.New("iterator is not valid") ErrInIteratorCreation = "failed to create iterator with error %w" ErrIteratorValue = "iterator value errored with %w" )
Functions ¶
This section is empty.
Types ¶
type KVStore ¶
type KVStore struct {
// contains filtered or unexported fields
}
func NewKVStore ¶
NewKVStore initializes a new in-memory key-value store using Pebble.
Click to show internal directories.
Click to hide internal directories.