MCPcopy
hub / github.com/usefathom/fathom / Handler

FuncType Handler

pkg/api/http.go:12–12  ·  view source on GitHub ↗

Handler is our custom HTTP handler with error returns

func(w http.ResponseWriter, r *http.Request) error

Source from the content-addressed store, hash-verified

10
11// Handler is our custom HTTP handler with error returns
12type Handler func(w http.ResponseWriter, r *http.Request) error
13
14type envelope struct {
15 Data interface{} `json:",omitempty"`

Callers 1

HandlerFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected