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

Method Match

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

Match searches the routing tree for a handler that matches the method/path - similar to routing a http request, but without executing the handler thereafter.

(rctx *Context, method, path string)

Source from the content-addressed store, hash-verified

126 // the method/path - similar to routing a http request, but without
127 // executing the handler thereafter.
128 Match(rctx *Context, method, path string) bool
129
130 // Find searches the routing tree for the pattern that matches
131 // the method/path.

Callers 6

TestMuxMatchFunction · 0.65
TestMuxMatch_HasBasePathFunction · 0.65
SupressNotFoundFunction · 0.65
GetHeadFunction · 0.65
IsMatchMethod · 0.65

Implementers 1

Muxmux.go

Calls

no outgoing calls

Tested by 3

TestMuxMatchFunction · 0.52
TestMuxMatch_HasBasePathFunction · 0.52