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

Method HandleFunc

router.go:181–183  ·  view source on GitHub ↗

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

(method string, path string, HandlerFunc func(http.ResponseWriter, *http.Request))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestPathFunction · 0.80

Calls 4

RegisterRouteMethod · 0.95
NewRouteMethod · 0.95
HandlerFuncMethod · 0.65
PathMethod · 0.65

Tested by 1

TestPathFunction · 0.64