diff --git a/http/http.go b/http/http.go index 9601d85..465fcca 100644 --- a/http/http.go +++ b/http/http.go @@ -93,6 +93,22 @@ func serveIndex(c *gin.Context) { c.String(http.StatusOK, indexHTML) } +// serveHome 主页(meshmap 占位) +func serveHome(c *gin.Context) { + c.Header("Content-Type", "text/html; charset=utf-8") + c.String(http.StatusOK, ` + +