mirror of https://github.com/v2ray/v2ray-core
format code
parent
01b1f9b898
commit
1330b5957d
|
@ -53,23 +53,23 @@ func (config *Config) Port() uint16 {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *Config) LogConfig() config.LogConfig {
|
func (config *Config) LogConfig() config.LogConfig {
|
||||||
if config.LogConfigValue == nil {
|
if config.LogConfigValue == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return config.LogConfigValue
|
return config.LogConfigValue
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *Config) InboundConfig() config.ConnectionConfig {
|
func (config *Config) InboundConfig() config.ConnectionConfig {
|
||||||
if config.InboundConfigValue == nil {
|
if config.InboundConfigValue == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return config.InboundConfigValue
|
return config.InboundConfigValue
|
||||||
}
|
}
|
||||||
|
|
||||||
func (config *Config) OutboundConfig() config.ConnectionConfig {
|
func (config *Config) OutboundConfig() config.ConnectionConfig {
|
||||||
if config.OutboundConfigValue == nil {
|
if config.OutboundConfigValue == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
return config.OutboundConfigValue
|
return config.OutboundConfigValue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue