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

TypeAlias methodMatcher

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

Methods -------------------------------------------------------------------- methodMatcher matches the request against HTTP methods.

Source from the content-addressed store, hash-verified

324
325// methodMatcher matches the request against HTTP methods.
326type methodMatcher []string
327
328func (m methodMatcher) Match(r *http.Request, match *RouteMatch) bool {
329 return matchInArray(m, r.Method)

Callers 2

MethodsMethod · 0.85
old_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected