MCPcopy Create free account
hub / github.com/netlify/gotrue / handler

Function handler

api/router.go:60–62  ·  view source on GitHub ↗
(fn apiHandler)

Source from the content-addressed store, hash-verified

58type apiHandler func(w http.ResponseWriter, r *http.Request) error
59
60func handler(fn apiHandler) http.HandlerFunc {
61 return fn.serve
62}
63
64func (h apiHandler) serve(w http.ResponseWriter, r *http.Request) {
65 if err := h(w, r); err != nil {

Callers 5

GetMethod · 0.85
PostMethod · 0.85
PutMethod · 0.85
DeleteMethod · 0.85
redirectErrorsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…