MCPcopy
hub / github.com/canopy-network/canopy / Handle

Method Handle

cmd/rpc/server.go:330–336  ·  view source on GitHub ↗

Handle

(resp http.ResponseWriter, req *http.Request, p httprouter.Params)

Source from the content-addressed store, hash-verified

328
329// Handle
330func (h logHandler) Handle(resp http.ResponseWriter, req *http.Request, p httprouter.Params) {
331 // Uncomment the line below to enable endpoint path logging for debugging.
332 // logger.Debug(h.path)
333
334 // Call the actual handler function with the response, request, and parameters.
335 h.h(resp, req, p)
336}
337
338//go:embed all:web/explorer/out
339var explorerFS embed.FS

Callers 3

NewMetricsServerFunction · 0.80
createRouterFunction · 0.80
createAdminRouterFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected