(w http.ResponseWriter, r *http.Request)
| 385 | } |
| 386 | |
| 387 | func (s *Server) handleConfigFiles(w http.ResponseWriter, r *http.Request) { |
| 388 | if r.Method != http.MethodGet { |
| 389 | methodNotAllowed(w) |
| 390 | return |
| 391 | } |
| 392 | writeJSON(w, s.services.Config.ListFiles()) |
| 393 | } |
| 394 | |
| 395 | func (s *Server) handleDoctorChecks(w http.ResponseWriter, r *http.Request) { |
| 396 | if r.Method != http.MethodGet { |
nothing calls this directly
no test coverage detected