MCPcopy Create free account
hub / github.com/supabase/auth / handler

Function handler

internal/api/router.go:63–65  ·  view source on GitHub ↗
(fn apiHandler)

Source from the content-addressed store, hash-verified

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

Callers 7

GetMethod · 0.85
PostMethod · 0.85
PutMethod · 0.85
PatchMethod · 0.85
DeleteMethod · 0.85
redirectErrorsFunction · 0.85
TokenMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected