| 1 |
package trie |
| 2 |
|
| 3 |
// Trier exposes the Trie structure capabilities. |
| 4 |
type Trier interface { |
| 5 |
Get(key string) interface{} |
| 6 |
Put(key string, value interface{}) bool |
| 7 |
Delete(key string) bool |
| 8 |
Walk(walker WalkFunc) error |
| 9 |
WalkPath(key string, walker WalkFunc) error |
| 10 |
} |