summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-05-15 16:16:39 -0600
committermo khan <mo@mokhan.ca>2025-05-15 16:16:39 -0600
commit76f0753f2114da1872f0ad286ddd7ebf45e73894 (patch)
tree073f38f5834e433afd64038d7aa25266c47329df /app/controllers
parentc151c1a77d31c5e01885691b6df1ea7b0be0b0e5 (diff)
chore: allow envoy to handle health checks
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/health/controller.go18
1 files changed, 0 insertions, 18 deletions
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)
-}