mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 09:18:51 +02:00
api: enrich provider statistifcs
This commit is contained in:
@@ -4,15 +4,18 @@ import (
|
||||
"net/http"
|
||||
|
||||
net "github.com/yusing/go-proxy/internal/net/types"
|
||||
"github.com/yusing/go-proxy/internal/watcher/health"
|
||||
)
|
||||
|
||||
type (
|
||||
HTTPRoute interface {
|
||||
Entry
|
||||
http.Handler
|
||||
Health() health.Status
|
||||
}
|
||||
StreamRoute interface {
|
||||
Entry
|
||||
net.Stream
|
||||
Health() health.Status
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user