We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
使用Endpoints.UseHealth 可以为应用程序及路由添加健康检查的Endpoint用于Http输出应用状态
func main() { webHost := YoyoGo.CreateDefaultBuilder(func (router router.IRouterBuilder) { endpoints.UseHealth(router) } webHost.Run() }
/actuator/health
{ "status": "UP" }