mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-10 18:56:55 +02:00
refactor(health): remove incorrect field comment
This commit is contained in:
@@ -77,8 +77,8 @@ type (
|
|||||||
|
|
||||||
HealthInfoWithoutDetail struct {
|
HealthInfoWithoutDetail struct {
|
||||||
Status HealthStatus `json:"status" swaggertype:"string" enums:"healthy,unhealthy,napping,starting,error,unknown"`
|
Status HealthStatus `json:"status" swaggertype:"string" enums:"healthy,unhealthy,napping,starting,error,unknown"`
|
||||||
Uptime time.Duration `json:"uptime" swaggertype:"number"` // uptime in milliseconds
|
Uptime time.Duration `json:"uptime" swaggertype:"number"`
|
||||||
Latency time.Duration `json:"latency" swaggertype:"number"` // latency in microseconds
|
Latency time.Duration `json:"latency" swaggertype:"number"`
|
||||||
} // @name HealthInfoWithoutDetail
|
} // @name HealthInfoWithoutDetail
|
||||||
|
|
||||||
HealthInfo struct {
|
HealthInfo struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user