The highest tagged major version is
v11.
package
Version:
v10.3.0
Opens a new window with list of versions in this module.
Published: Mar 10, 2018
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("two or more routes have the same registered path")
ErrDublicate returnned from `Add` when two or more 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.
Exists returns true if a node with that "path" exists,
otherise false.
We don't care about parameters here.
Find resolves the path, fills its params
and returns the registered to the resolved node's handlers.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.