api: enrich provider statistifcs

This commit is contained in:
yusing
2025-01-15 09:06:54 +08:00
parent 2af2346e35
commit 04e118c081
7 changed files with 97 additions and 32 deletions

View File

@@ -11,6 +11,7 @@ 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 (
@@ -28,6 +29,7 @@ type (
task.TaskFinisher
String() string
TargetURL() url.URL
Health() health.Status
}
RawEntry = types.RawEntry
RawEntries = types.RawEntries