Versions in this module Expand all Collapse all v0 v0.1.2 Mar 21, 2022 v0.1.1 Mar 19, 2022 Changes in this version + const Leaf + const MaxPrefixLen + const Node16 + const Node16Max + const Node16Min + const Node256 + const Node256Max + const Node256Min + const Node4 + const Node48 + const Node48Max + const Node48Min + const Node4Max + const Node4Min + type Callback func(node *Node) + type Iterator interface + HasNext func() bool + Next func() *Node + type Node struct + func (n *Node) IsLeaf() bool + func (n *Node) Key() []byte + func (n *Node) Type() int + func (n *Node) Value() interface{} + type Tree struct + func NewTree() *Tree + func (t *Tree) Delete(key []byte) bool + func (t *Tree) Each(callback Callback) + func (t *Tree) Insert(key []byte, value interface{}) bool + func (t *Tree) Iterator() Iterator + func (t *Tree) Scan(key []byte, callback Callback) + func (t *Tree) Search(key []byte) interface{} + func (t *Tree) Size() uint64