package
Version:
v7.3.3+incompatible
Opens a new window with list of versions in this module.
Published: Jun 24, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var ErrDublicate = errors.New("more than one routes have the same registered path")
ErrDublicate returned from MakeChild when more than one routes have the same registered path.
Nodes a conversion type for []*node.
Add adds a node to the tree, returns an ErrDublicate error on failure.
Find resolves the path, fills its params
and returns the registered to the resolved node's handlers.
func (nodes Nodes) Sort()
Sort sets the static paths first.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.