package main import ( "github.com/labstack/echo/v4" "net/http" ) type HealthStatus struct { Status string `json:"status"` Message string `json:"msg,omitempty"` } func (srv *Server) HandleHealthCheck(c echo.Context) error { return c.JSON(http.StatusOK, HealthStatus{Status: "ok"}) } var homeMessage string = ` .::::::. .,-::::: :::::::.. ... :::. : :::::::. ::: .,:::::: ;;;' ' ,;;;'''''' ;;;;'';;;; ;; ;;;;;,. ;;; ;;;'';;' ;;; ;;;;'''' '[==/[[[[,[[[ [[[,/[[[' [[' [[[[[[[, ,[[[[, [[[__[[\. [[[ [[cccc ''' $$$$ $$$$$$c $$ $$$$$$$$$$$"$$$ $$""""Y$$ $$' $$"""" 88b dP'88bo,__,o, 888b "88bo,88 .d888888 Y88" 888o_88o,,od8Po88oo,.__888oo,__ "YMmMY" "YUMMMMMP"MMMM "W" "YmmMMMM""MMM M' "MMM""YUMMMP" """"YUMMM""""YUMMM scrumble.social / make a scene ` func (srv *Server) HandleHomeMessage(c echo.Context) error { return c.String(http.StatusOK, homeMessage) }