Versions in this module Expand all Collapse all v1 v1.0.1 May 4, 2023 Changes in this version + func NewProducer(namespace string, mods ...Mod) kvdb.IterableDBProducer + type Database struct + func New() *Database + func NewWithCap(size int) *Database + func NewWithDrop(drop func()) *Database + func (db *Database) Close() error + func (db *Database) Compact(start []byte, limit []byte) error + func (db *Database) Delete(key []byte) error + func (db *Database) Drop() + func (db *Database) Get(key []byte) ([]byte, error) + func (db *Database) Has(key []byte) (bool, error) + func (db *Database) Len() int + func (db *Database) NewBatch() kvdb.Batch + func (db *Database) NewIterator(prefix []byte, start []byte) kvdb.Iterator + func (db *Database) Put(key []byte, value []byte) error + func (db *Database) SetDelay(d time.Duration) + func (db *Database) Stat(property string) (string, error) + type Mod func(kvdb.DropableStore) kvdb.DropableStore + type Producer struct + func (p *Producer) Names() []string + func (p *Producer) OpenDB(name string) (kvdb.DropableStore, error)