Versions in this module Expand all Collapse all v1 v1.0.2 May 27, 2021 v1.0.1 May 27, 2021 Changes in this version + var ErrIterReleased = errors.New("leveldb/memdb: iterator released") + var ErrNotFound = errors.ErrNotFound + type DB struct + func New(cmp comparer.BasicComparer, capacity int) *DB + func (p *DB) Capacity() int + func (p *DB) Contains(key []byte) bool + func (p *DB) Delete(key []byte) error + func (p *DB) Find(key []byte) (rkey, value []byte, err error) + func (p *DB) Free() int + func (p *DB) Get(key []byte) (value []byte, err error) + func (p *DB) Len() int + func (p *DB) NewIterator(slice *util.Range) iterator.Iterator + func (p *DB) Put(key []byte, value []byte) error + func (p *DB) Reset() + func (p *DB) Size() int