MCPcopy Create free account
hub / github.com/devfeel/dotweb / Node

Struct Node

tree.go:42–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40)
41
42type Node struct {
43 path string
44 fullPath string
45 hasExcludeMiddleware bool
46 wildChild bool
47 nType nodeType
48 maxParams uint8
49 indices string
50 children []*Node
51 appMiddlewares []Middleware
52 groupMiddlewares []Middleware
53 middlewares []Middleware
54 handle RouterHandle
55 priority uint32
56}
57
58// Use registers a middleware
59func (n *Node) Use(m ...Middleware) *Node {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected