MCPcopy Index your code
hub / github.com/supabase/auth / Store

Method Store

internal/reloader/handler.go:29–31  ·  view source on GitHub ↗

Store will update this http.Handler to serve future requests using h.

(h http.Handler)

Source from the content-addressed store, hash-verified

27
28// Store will update this http.Handler to serve future requests using h.
29func (ah *AtomicHandler) Store(h http.Handler) {
30 ah.val.Store(&atomicHandlerValue{h})
31}
32
33// load will return the underlying http.Handler used to serve requests.
34func (ah *AtomicHandler) load() http.Handler {

Callers 6

TestAtomicHandlerRacesFunction · 0.95
TestAtomicHandlerFunction · 0.95
TestDispatchFunction · 0.95
serveFunction · 0.95
TestEmalValidatorServiceFunction · 0.80
NewAtomicHandlerFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestAtomicHandlerRacesFunction · 0.76
TestAtomicHandlerFunction · 0.76
TestDispatchFunction · 0.76
TestEmalValidatorServiceFunction · 0.64