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

13 lines
242 B
Go
Raw Normal View History

2015-12-07 14:32:38 -05:00
package inbound
2016-12-07 06:32:03 -05:00
// GetDefaultValue returns default settings of DefaultConfig.
2016-11-27 15:39:09 -05:00
func (v *Config) GetDefaultValue() *DefaultConfig {
if v.GetDefault() == nil {
2016-10-17 08:35:13 -04:00
return &DefaultConfig{
AlterId: 32,
Level: 0,
}
}
2016-11-27 15:39:09 -05:00
return v.Default
2016-10-17 08:35:13 -04:00
}