MCPcopy
hub / github.com/go-chi/chi / Group

Method Group

chi.go:78–78  ·  view source on GitHub ↗

Group adds a new inline-Router along the current routing path, with a fresh middleware stack for the inline-Router.

(fn func(r Router))

Source from the content-addressed store, hash-verified

76 // Group adds a new inline-Router along the current routing
77 // path, with a fresh middleware stack for the inline-Router.
78 Group(fn func(r Router)) Router
79
80 // Route mounts a sub-Router along a `pattern` string.
81 Route(pattern string, fn func(r Router)) Router

Callers 5

TestMuxNestedNotFoundFunction · 0.95
TestMuxRouteGroupsFunction · 0.95
TestNestedGroupsFunction · 0.95
mainFunction · 0.95

Implementers 1

Muxmux.go

Calls

no outgoing calls

Tested by 4

TestMuxNestedNotFoundFunction · 0.76
TestMuxRouteGroupsFunction · 0.76
TestNestedGroupsFunction · 0.76