MCPcopy Create free account
hub / github.com/donutloop/mux / Handle

Method Handle

router.go:173–177  ·  view source on GitHub ↗

Handle registers a new route with a matcher for the URL path. See Route.Path() and Route.Handler().

(method string, path string, handler http.Handler)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestPathFunction · 0.80

Calls 4

NewRouteMethod · 0.95
PathMethod · 0.95
RegisterRouteMethod · 0.95
HandlerMethod · 0.65

Tested by 1

TestPathFunction · 0.64