MCPcopy Create free account
hub / github.com/devfeel/dotweb / RegisterHandlerFunc

Method RegisterHandlerFunc

router.go:72–72  ·  view source on GitHub ↗
(routeMethod string, path string, handler http.HandlerFunc)

Source from the content-addressed store, hash-verified

70 WebSocket(path string, handle HttpHandle)
71 Any(path string, handle HttpHandle)
72 RegisterHandlerFunc(routeMethod string, path string, handler http.HandlerFunc) RouterNode
73 RegisterRoute(routeMethod string, path string, handle HttpHandle) RouterNode
74 RegisterHandler(name string, handler HttpHandle)
75 GetHandler(name string) (HttpHandle, bool)

Callers 2

RegisterHandlerFuncMethod · 0.65
InitRouteFunction · 0.65

Implementers 1

routerrouter.go

Calls

no outgoing calls

Tested by

no test coverage detected