mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 01:08:31 +02:00
refactor: remove net.URL and net.CIDR types, improved unmarshal handling
This commit is contained in:
@@ -2,15 +2,14 @@ package homepage
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
net "github.com/yusing/go-proxy/internal/net/types"
|
||||
"net/url"
|
||||
)
|
||||
|
||||
type route interface {
|
||||
TargetName() string
|
||||
ProviderName() string
|
||||
Reference() string
|
||||
TargetURL() *net.URL
|
||||
TargetURL() *url.URL
|
||||
}
|
||||
|
||||
type httpRoute interface {
|
||||
|
||||
Reference in New Issue
Block a user