Searched defs:routingNode (Results 1 – 2 of 2) sorted by relevance
27 type routingNode struct { struct30 pattern *pattern31 handler Handler37 children mapping[string, *routingNode]38 multiChild *routingNode // child with multi wildcard39 emptyChild *routingNode // optimization: child with key ""44 func (root *routingNode) addPattern(p *pattern, h Handler) {56 func (n *routingNode) addSegments(segs []segment, p *pattern, h Handler) {78 func (n *routingNode) set(p *pattern, h Handler) {88 func (n *routingNode) addChild(key string) *routingNode {[all …]
2691 func exactMatch(n *routingNode, path string) bool {