(w http.ResponseWriter, r *http.Request)
| 61 | } |
| 62 | |
| 63 | func handlerGetPing(w http.ResponseWriter, r *http.Request) { |
| 64 | if r.Method != http.MethodGet { |
| 65 | writeResponse(w, http.StatusText(http.StatusMethodNotAllowed), http.StatusMethodNotAllowed) |
| 66 | return |
| 67 | } |
| 68 | writeResponse(w, true, http.StatusOK) |
| 69 | } |
| 70 | |
| 71 | func handlerSearch(w http.ResponseWriter, r *http.Request) { |
| 72 | if r.Method != http.MethodGet { |
nothing calls this directly
no test coverage detected
searching dependent graphs…