fix: json marshal/unmarshal

This commit is contained in:
yusing
2025-04-24 19:57:27 +08:00
parent 080bbc18eb
commit 8363dfe257
5 changed files with 117 additions and 43 deletions

View File

@@ -25,7 +25,7 @@ func getHealthInfo(r Route) map[string]string {
}
type HealthInfoRaw struct {
Status health.Status `json:"status,string"`
Status health.Status `json:"status"`
Latency time.Duration `json:"latency"`
}