1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

rename RouterConfig to Config

This commit is contained in:
v2ray 2015-12-08 00:04:02 +01:00
parent aab774e78f
commit 641e5db851
4 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
package router
type RouterConfig interface {
type Config interface {
Strategy() string
Settings() interface{}
}

View File

@ -38,7 +38,7 @@ type OutboundDetourConfig interface {
type PointConfig interface {
Port() v2net.Port
LogConfig() LogConfig
RouterConfig() router.RouterConfig
RouterConfig() router.Config
InboundConfig() ConnectionConfig
OutboundConfig() ConnectionConfig
InboundDetours() []InboundDetourConfig

View File

@ -35,7 +35,7 @@ func (config *Config) LogConfig() point.LogConfig {
return config.LogConfigValue
}
func (this *Config) RouterConfig() router.RouterConfig {
func (this *Config) RouterConfig() router.Config {
if this.RouterConfigValue == nil {
return nil
}

View File

@ -91,7 +91,7 @@ func (config *Config) LogConfig() point.LogConfig {
return config.LogConfigValue
}
func (this *Config) RouterConfig() router.RouterConfig {
func (this *Config) RouterConfig() router.Config {
if this.RouterConfigValue == nil {
return nil
}