Versions in this module Expand all Collapse all v0 v0.0.1 May 24, 2021 Changes in this version + type Immutable struct + func NewImmutable() *Immutable + func (t *Immutable) Delete(key []byte) *Immutable + func (t *Immutable) ForEach(fn func(k, v []byte) bool) + func (t *Immutable) Get(key []byte) []byte + func (t *Immutable) Has(key []byte) bool + func (t *Immutable) Iterator(startKey, limitKey []byte) *Iterator + func (t *Immutable) Len() int + func (t *Immutable) Put(key, value []byte) *Immutable + func (t *Immutable) Size() uint64 + type Iterator struct + func (iter *Iterator) First() bool + func (iter *Iterator) ForceReseek() + func (iter *Iterator) Key() []byte + func (iter *Iterator) Last() bool + func (iter *Iterator) Next() bool + func (iter *Iterator) Prev() bool + func (iter *Iterator) Seek(key []byte) bool + func (iter *Iterator) Valid() bool + func (iter *Iterator) Value() []byte + type Mutable struct + func NewMutable() *Mutable + func (t *Mutable) Delete(key []byte) + func (t *Mutable) ForEach(fn func(k, v []byte) bool) + func (t *Mutable) Get(key []byte) []byte + func (t *Mutable) Has(key []byte) bool + func (t *Mutable) Iterator(startKey, limitKey []byte) *Iterator + func (t *Mutable) Len() int + func (t *Mutable) Put(key, value []byte) + func (t *Mutable) Reset() + func (t *Mutable) Size() uint64