mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-18 06:29:42 +02:00
api: add /v1/health/ws for health bubbles on dashboard
This commit is contained in:
@@ -117,6 +117,11 @@ func (w *Watcher) Uptime() time.Duration {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Latency implements health.HealthMonitor.
|
||||
func (w *Watcher) Latency() time.Duration {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Status implements health.HealthMonitor.
|
||||
func (w *Watcher) Status() health.Status {
|
||||
status := w.getStatusUpdateReady()
|
||||
|
||||
Reference in New Issue
Block a user