refactor: remove net.URL and net.CIDR types, improved unmarshal handling

This commit is contained in:
yusing
2025-04-13 07:06:21 +08:00
parent 1eac48e899
commit fce96ff3be
37 changed files with 236 additions and 292 deletions

View File

@@ -2,6 +2,7 @@ package route
import (
"net/http"
"net/url"
"github.com/yusing/go-proxy/agent/pkg/agent"
"github.com/yusing/go-proxy/internal/docker"
@@ -22,7 +23,7 @@ type (
task.TaskFinisher
ProviderName() string
TargetName() string
TargetURL() *net.URL
TargetURL() *url.URL
HealthMonitor() health.HealthMonitor
Reference() string