mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 09:48:49 +02:00
api: add /v1/health/ws for health bubbles on dashboard
This commit is contained in:
@@ -8,14 +8,16 @@ import (
|
||||
)
|
||||
|
||||
type (
|
||||
HTTPRoute interface {
|
||||
Route interface {
|
||||
Entry
|
||||
HealthMonitor() health.HealthMonitor
|
||||
}
|
||||
HTTPRoute interface {
|
||||
Route
|
||||
http.Handler
|
||||
Health() health.Status
|
||||
}
|
||||
StreamRoute interface {
|
||||
Entry
|
||||
Route
|
||||
net.Stream
|
||||
Health() health.Status
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user