Versions in this module Expand all Collapse all v1 v1.0.0 Sep 18, 2019 Changes in this version + const CHILDREN + const K_LIMIT + func New() *tree + type FoldFunc (func([]byte, []byte, interface{}) interface{}) + type TreeNode struct + Children map[uint8]*TreeNode + Value []byte + func (t *TreeNode) Fold(p []byte, f FoldFunc, b interface{}) interface{} + func (t *TreeNode) Get(k []byte) []byte + func (t *TreeNode) Set(k, v []byte) error + type Trie interface + Fold func(FoldFunc, interface{}) interface{} + Get func([]byte) []byte + Set func([]byte, []byte) error