Versions in this module Expand all Collapse all v0 v0.6.6 Aug 20, 2021 Changes in this version + type MemDB struct + func NewDB() *MemDB + func (db *MemDB) Close() error + func (db *MemDB) Delete(key []byte) error + func (db *MemDB) DeleteSync(key []byte) error + func (db *MemDB) Get(key []byte) ([]byte, error) + func (db *MemDB) Has(key []byte) (bool, error) + func (db *MemDB) Iterator(start, end []byte) (tmdb.Iterator, error) + func (db *MemDB) NewBatch() tmdb.Batch + func (db *MemDB) Print() error + func (db *MemDB) ReverseIterator(start, end []byte) (tmdb.Iterator, error) + func (db *MemDB) Set(key []byte, value []byte) error + func (db *MemDB) SetSync(key []byte, value []byte) error + func (db *MemDB) Stats() map[string]string