1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 09:26:21 -05:00
v2fly/proxy/vmess/inbound/config.go
2019-02-01 20:08:21 +01:00

15 lines
263 B
Go

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