Versions in this module Expand all Collapse all v0 v0.1.0 Feb 26, 2024 Changes in this version + func PathSegmenter(path string, start int) (segment string, next int) + type PathTrie struct + func NewPathTrie() *PathTrie + func NewPathTrieWithConfig(config *PathTrieConfig) *PathTrie + func (trie *PathTrie) Delete(key string) bool + func (trie *PathTrie) Get(key string) interface{} + func (trie *PathTrie) Put(key string, value interface{}) bool + func (trie *PathTrie) Walk(walker WalkFunc) error + func (trie *PathTrie) WalkPath(key string, walker WalkFunc) error + type PathTrieConfig struct + Segmenter StringSegmenter + type RuneTrie struct + func NewRuneTrie() *RuneTrie + func (trie *RuneTrie) Delete(key string) bool + func (trie *RuneTrie) Get(key string) interface{} + func (trie *RuneTrie) Put(key string, value interface{}) bool + func (trie *RuneTrie) Walk(walker WalkFunc) error + func (trie *RuneTrie) WalkPath(key string, walker WalkFunc) error + type StringSegmenter func(key string, start int) (segment string, nextIndex int) + type Trier interface + Delete func(key string) bool + Get func(key string) interface{} + Put func(key string, value interface{}) bool + Walk func(walker WalkFunc) error + WalkPath func(key string, walker WalkFunc) error + type WalkFunc func(key string, value interface{}) error