Documentation
¶
Index ¶
- type Node
- type Result
- type Tree
- func (t *Tree) Bulk(routes map[string]*alaye.Route) []error
- func (t *Tree) ClearCache()
- func (t *Tree) Find(path string) Result
- func (t *Tree) GetPatterns() []string
- func (t *Tree) Insert(pattern string, route *alaye.Route) error
- func (t *Tree) Rebuild(routes []alaye.Route)
- func (t *Tree) Stats() map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node — single segment in the tree
type Tree ¶
type Tree struct {
// contains filtered or unexported fields
}
Tree — per-host route tree
func (*Tree) GetPatterns ¶
GetPatterns returns all registered patterns
Click to show internal directories.
Click to hide internal directories.