mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-23 12:02:58 -05:00
remove json packages in app folder
This commit is contained in:
@@ -2,7 +2,6 @@ package mocks
|
||||
|
||||
import (
|
||||
"github.com/v2ray/v2ray-core/app/router"
|
||||
routertesting "github.com/v2ray/v2ray-core/app/router/testing"
|
||||
"github.com/v2ray/v2ray-core/common/log"
|
||||
v2net "github.com/v2ray/v2ray-core/common/net"
|
||||
"github.com/v2ray/v2ray-core/shell/point"
|
||||
@@ -88,7 +87,7 @@ func (this *OutboundDetourConfig) Tag() string {
|
||||
type Config struct {
|
||||
PortValue v2net.Port
|
||||
LogConfigValue *LogConfig
|
||||
RouterConfigValue *routertesting.RouterConfig
|
||||
RouterConfigValue *router.Config
|
||||
InboundConfigValue *ConnectionConfig
|
||||
OutboundConfigValue *ConnectionConfig
|
||||
InboundDetoursValue []*InboundDetourConfig
|
||||
@@ -106,7 +105,7 @@ func (config *Config) LogConfig() point.LogConfig {
|
||||
return config.LogConfigValue
|
||||
}
|
||||
|
||||
func (this *Config) RouterConfig() router.Config {
|
||||
func (this *Config) RouterConfig() *router.Config {
|
||||
if this.RouterConfigValue == nil {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user