From dd5c034dc598102dc6610db49de501e3450590c0 Mon Sep 17 00:00:00 2001 From: chrisjsimpson Date: Sun, 18 Jul 2021 01:05:46 +0100 Subject: [PATCH] Revert "wip #95 /health endpoint" This reverts commit c782ac077cd0d948eda6bee5439f958417445306. --- api/handler/health_handler.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 api/handler/health_handler.go diff --git a/api/handler/health_handler.go b/api/handler/health_handler.go deleted file mode 100644 index 966178f..0000000 --- a/api/handler/health_handler.go +++ /dev/null @@ -1,14 +0,0 @@ -package handler - -import ( - "net/http" -) - -func healthRoutes() { - router.HandleFunc("/health", getHealth).Methods("GET") -} - -func getHealth(w http.ResponseWriter, r *http.Request) { - respond(w, '{"status": "OK"}', http.StatusOK) -} -