mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 20:52:33 +02:00
20 lines
304 B
Go
20 lines
304 B
Go
package homepage
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
gpnet "github.com/yusing/go-proxy/internal/net/types"
|
|
"github.com/yusing/go-proxy/internal/utils/pool"
|
|
)
|
|
|
|
type route interface {
|
|
pool.Object
|
|
ProviderName() string
|
|
Reference() string
|
|
TargetURL() *gpnet.URL
|
|
}
|
|
|
|
type httpRoute interface {
|
|
route
|
|
http.Handler
|
|
}
|