diff options
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/health/controller.go | 18 |
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) -} |
