(w http.ResponseWriter, _ *http.Request)
| 197 | } |
| 198 | |
| 199 | func (s *Server) health(w http.ResponseWriter, _ *http.Request) { |
| 200 | writeJSON(w, http.StatusOK, map[string]string{ |
| 201 | "status": "ok", |
| 202 | }) |
| 203 | } |
| 204 | |
| 205 | func (s *Server) status(w http.ResponseWriter, r *http.Request) { |
| 206 | health := s.cachedBackendHealth(r.Context()) |
nothing calls this directly
no test coverage detected