mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-23 17:41:05 +01:00
21 lines
295 B
Go
21 lines
295 B
Go
package homepage
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
nettypes "github.com/yusing/godoxy/internal/net/types"
|
|
"github.com/yusing/goutils/pool"
|
|
)
|
|
|
|
type route interface {
|
|
pool.Object
|
|
ProviderName() string
|
|
References() []string
|
|
TargetURL() *nettypes.URL
|
|
}
|
|
|
|
type httpRoute interface {
|
|
route
|
|
http.Handler
|
|
}
|