Documentation
¶
Index ¶
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
}
func (*Node) AddRoute ¶
addRoute adds a Node with the given handle to the path. Not concurrency-safe!
func (*Node) FindCaseInsensitivePath ¶
func (n *Node) FindCaseInsensitivePath(path string, fixTrailingSlash bool) (ciPath []byte, found bool)
Makes a case-insensitive lookup of the given path and tries to find a handler. It can optionally also fix trailing slashes. It returns the case-corrected path and a bool indicating whether the lookup was successful.
Click to show internal directories.
Click to hide internal directories.