package handler import ( "time" "github.com/gin-gonic/gin" "gitlab.wodcloud.com/apaas-v3/apaas-meshproxy/src/tools" ) func Health(c *gin.Context) { c.JSON(200, gin.H{ "host": c.Request.Host, "header": c.Request.Header, "serverTime": time.Now(), "ip": tools.RemoteIp(c.Request), }) }