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

Method load

internal/reloader/handler.go:34–36  ·  view source on GitHub ↗

load will return the underlying http.Handler used to serve requests.

()

Source from the content-addressed store, hash-verified

32
33// load will return the underlying http.Handler used to serve requests.
34func (ah *AtomicHandler) load() http.Handler {
35 return ah.val.Load().(*atomicHandlerValue).Handler
36}
37
38// ServeHTTP implements the standard libraries http.Handler interface by
39// atomically passing the request along to the most recently stored handler.

Callers 3

TestAtomicHandlerRacesFunction · 0.95
ServeHTTPMethod · 0.95
TestAtomicHandlerFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestAtomicHandlerRacesFunction · 0.76
TestAtomicHandlerFunction · 0.76