mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-29 21:45:21 -05:00
move common/log to app/log
This commit is contained in:
@@ -5,9 +5,9 @@ import (
|
||||
|
||||
"v2ray.com/core/app"
|
||||
"v2ray.com/core/app/dns"
|
||||
"v2ray.com/core/app/log"
|
||||
"v2ray.com/core/common"
|
||||
"v2ray.com/core/common/errors"
|
||||
"v2ray.com/core/common/log"
|
||||
"v2ray.com/core/common/net"
|
||||
"v2ray.com/core/proxy"
|
||||
)
|
||||
@@ -91,6 +91,12 @@ func (Router) Interface() interface{} {
|
||||
return (*Router)(nil)
|
||||
}
|
||||
|
||||
func (Router) Start() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (Router) Close() {}
|
||||
|
||||
func FromSpace(space app.Space) *Router {
|
||||
app := space.GetApplication((*Router)(nil))
|
||||
if app == nil {
|
||||
|
||||
Reference in New Issue
Block a user