mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 09:18:31 +02:00
api: add /v1/health/ws for health bubbles on dashboard
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
"github.com/yusing/go-proxy/internal/task"
|
||||
U "github.com/yusing/go-proxy/internal/utils"
|
||||
F "github.com/yusing/go-proxy/internal/utils/functional"
|
||||
"github.com/yusing/go-proxy/internal/watcher/health"
|
||||
)
|
||||
|
||||
type (
|
||||
@@ -24,12 +23,11 @@ type (
|
||||
Routes = F.Map[string, *Route]
|
||||
|
||||
impl interface {
|
||||
entry.Entry
|
||||
types.Route
|
||||
task.TaskStarter
|
||||
task.TaskFinisher
|
||||
String() string
|
||||
TargetURL() url.URL
|
||||
Health() health.Status
|
||||
}
|
||||
RawEntry = types.RawEntry
|
||||
RawEntries = types.RawEntries
|
||||
|
||||
Reference in New Issue
Block a user