Versions in this module Expand all Collapse all v0 v0.0.2 Oct 1, 2024 v0.0.1 Jun 25, 2024 Changes in this version + const IdealBatchSize + type Batch interface + Replay func(w KeyValueWriter) error + Reset func() + ValueSize func() int + Write func() error + type Batcher interface + NewBatch func() Batch + NewBatchWithSize func(size int) Batch + type Compacter interface + Compact func(start []byte, limit []byte) error + type Database interface + type HookedBatch struct + OnDelete func(key []byte) + OnPut func(key []byte, value []byte) + func (b HookedBatch) Delete(key []byte) error + func (b HookedBatch) Put(key []byte, value []byte) error + type Iteratee interface + NewIterator func(prefix []byte, start []byte) Iterator + type Iterator interface + Error func() error + Key func() []byte + Next func() bool + Release func() + Value func() []byte + type KeyValueReader interface + Get func(key []byte) ([]byte, error) + Has func(key []byte) (bool, error) + type KeyValueStore interface + type KeyValueWriter interface + Delete func(key []byte) error + Put func(key []byte, value []byte) error + type Reader interface + type Snapshot interface + Get func(key []byte) ([]byte, error) + Has func(key []byte) (bool, error) + Release func() + type Snapshotter interface + NewSnapshot func() (Snapshot, error) + type Stater interface + Stat func(property string) (string, error) + type Writer interface