Versions in this module Expand all Collapse all v1 v1.0.1 Jun 5, 2023 Changes in this version + func NewProducer(datadir string, getCache func(string) int) kvdb.IterableDBProducer + type Database struct — darwin/amd64, linux/amd64, windows/amd64 + func New(path string, cache int, handles int, close func() error, drop func()) (*Database, error) + 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) NewBatch() kvdb.Batch + func (db *Database) NewIterator(prefix []byte, start []byte) kvdb.Iterator + func (db *Database) Path() string + func (db *Database) Put(key []byte, value []byte) error + func (db *Database) Stat(property string) (string, error) + type Producer struct + func (p *Producer) Names() []string + func (p *Producer) OpenDB(name string) (kvdb.DropableStore, error)