MCPcopy
hub / github.com/supabase/auth / ServeHTTP

Method ServeHTTP

internal/reloader/handler.go:40–42  ·  view source on GitHub ↗

ServeHTTP implements the standard libraries http.Handler interface by atomically passing the request along to the most recently stored handler.

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

Source from the content-addressed store, hash-verified

38// ServeHTTP implements the standard libraries http.Handler interface by
39// atomically passing the request along to the most recently stored handler.
40func (ah *AtomicHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
41 ah.load().ServeHTTP(w, r)
42}

Callers 1

TestAtomicHandlerFunction · 0.45

Calls 1

loadMethod · 0.95

Tested by 1

TestAtomicHandlerFunction · 0.36