MCPcopy
hub / github.com/gorilla/mux / MatcherFunc

FuncType MatcherFunc

route.go:311–311  ·  view source on GitHub ↗

MatcherFunc ---------------------------------------------------------------- MatcherFunc is the function signature used by custom matchers.

func(*http.Request, *RouteMatch) bool

Source from the content-addressed store, hash-verified

309
310// MatcherFunc is the function signature used by custom matchers.
311type MatcherFunc func(*http.Request, *RouteMatch) bool
312
313// Match returns the match for a given request.
314func (m MatcherFunc) Match(r *http.Request, match *RouteMatch) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…