feat: 补全设计文档中的 REST 端点 #41

Merged
huanghaosheng merged 3 commits from feature/phase6 into develop 2026-06-13 16:25:32 +08:00
Showing only changes of commit f07916ab0f - Show all commits

View File

@@ -106,7 +106,7 @@ func healthHandler(sessionMgr session.Manager) gin.HandlerFunc {
c.JSON(200, gin.H{
"status": "ok",
"version": "0.1.0",
"uptime": time.Since(startTime).String(),
"uptime_seconds": int(time.Since(startTime).Seconds()),
"active_sessions": sessionMgr.ActiveCount(),
})
}