1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-27 20:45:28 -05:00
Files
v2fly/proxy/vmess/inbound/config.go

12 lines
180 B
Go
Raw Normal View History

2015-12-07 19:32:38 +00:00
package inbound
2016-11-27 21:39:09 +01:00
func (v *Config) GetDefaultValue() *DefaultConfig {
if v.GetDefault() == nil {
2016-10-17 14:35:13 +02:00
return &DefaultConfig{
AlterId: 32,
Level: 0,
}
}
2016-11-27 21:39:09 +01:00
return v.Default
2016-10-17 14:35:13 +02:00
}