(w http.ResponseWriter, r *http.Request)
| 1286 | } |
| 1287 | |
| 1288 | func (a *API) handleHealth(w http.ResponseWriter, r *http.Request) { |
| 1289 | w.Header().Set("Content-Type", "application/json") |
| 1290 | writeJSON(w, map[string]string{"status": "ok"}) |
| 1291 | } |
| 1292 | |
| 1293 | func (a *API) handleFeedback(w http.ResponseWriter, r *http.Request) { |
| 1294 | ip := clientIP(r) |
nothing calls this directly
no test coverage detected