Versions in this module Expand all Collapse all v2 v2.0.1 May 22, 2024 Changes in this version + type Backend interface + Close func() error + Name func() string + Persistent func() bool + String func() string + type BatchWriter interface + Close func() error + SetAll func(kayVals []KeyVal, expiry time.Duration) error + type Builder func(name string) (Backend, error) + type Cache interface + Reset func() + type CacheableBackend interface + Cache func() Cache + type Iterator interface + Close func() + Error func() error + Key func() []byte + Next func() + Prev func() + Seek func(key []byte) + SeekToFirst func() + SeekToLast func() + Valid func() bool + Value func() []byte + type KeyVal struct + Key []byte + Val []byte + type Reader interface + Close func() error + Get func(key []byte) ([]byte, error) + Iterator func() Iterator + PrefixedIterator func(keyPrefix []byte) Iterator + type Writer interface + Close func() error + Delete func(key []byte) error + DeleteAll func() error + Flush func() error + Set func(key []byte, value []byte, expiry time.Duration) error