Store will update this http.Handler to serve future requests using h.
(h http.Handler)
| 27 | |
| 28 | // Store will update this http.Handler to serve future requests using h. |
| 29 | func (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. |
| 34 | func (ah *AtomicHandler) load() http.Handler { |
no outgoing calls