Documentation
¶
Overview ¶
Package radix provides an implementation of a specialized radix tree. The implementation draws heavy inspiration from https://github.com/armon/go-radix.
Index ¶
Constants ¶
View Source
const WildcardElem = -1
WildcardElem is a sentinel value that subsumes all others.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
A Tree is radix tree whose edges are each labeled by a byte, and whose conceptual leaf nodes each contain a set of ints. The zero value of a Tree is an empty tree.
func (*Tree) Elems ¶ added in v0.2.0
Elems returns a slice containing textual representations of t's elements.
Click to show internal directories.
Click to hide internal directories.