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

Function requestWithRoute

mux.go:453–456  ·  view source on GitHub ↗
(r *http.Request, route *Route)

Source from the content-addressed store, hash-verified

451}
452
453func requestWithRoute(r *http.Request, route *Route) *http.Request {
454 ctx := context.WithValue(r.Context(), routeKey, route)
455 return r.WithContext(ctx)
456}
457
458// ----------------------------------------------------------------------------
459// Helpers

Callers 1

ServeHTTPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…