1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-07-07 13:54:27 -04:00
v2fly/proxy/vmess/inbound/config.go
Darien Raymond 78b726d4e8
comments
2016-12-07 12:32:03 +01:00

13 lines
242 B
Go

package inbound
// GetDefaultValue returns default settings of DefaultConfig.
func (v *Config) GetDefaultValue() *DefaultConfig {
if v.GetDefault() == nil {
return &DefaultConfig{
AlterId: 32,
Level: 0,
}
}
return v.Default
}