Versions in this module Expand all Collapse all v0 v0.1.0 Dec 24, 2020 Changes in this version + type Database struct + func New(file string, blockCacheSize, writeBufferSize, handleCap int) (*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) Get(key []byte) ([]byte, error) + func (db *Database) Has(key []byte) (bool, error) + func (db *Database) NewBatch() database.Batch + func (db *Database) NewIterator() database.Iterator + func (db *Database) NewIteratorWithPrefix(prefix []byte) database.Iterator + func (db *Database) NewIteratorWithStart(start []byte) database.Iterator + func (db *Database) NewIteratorWithStartAndPrefix(start, prefix []byte) database.Iterator + func (db *Database) Put(key []byte, value []byte) error + func (db *Database) Stat(property string) (string, error)