From 76f0753f2114da1872f0ad286ddd7ebf45e73894 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 15 May 2025 16:16:39 -0600 Subject: chore: allow envoy to handle health checks --- app/controllers/health/controller.go | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 app/controllers/health/controller.go (limited to 'app/controllers') diff --git a/app/controllers/health/controller.go b/app/controllers/health/controller.go deleted file mode 100644 index 5bcff66..0000000 --- a/app/controllers/health/controller.go +++ /dev/null @@ -1,18 +0,0 @@ -package health - -import "net/http" - -type Controller struct { -} - -func New() *Controller { - return &Controller{} -} - -func (c *Controller) MountTo(mux *http.ServeMux) { - mux.HandleFunc("GET /health", c.Index) -} - -func (c *Controller) Index(w http.ResponseWriter, r *http.Request) { - w.WriteHeader(http.StatusOK) -} -- cgit v1.2.3