1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-02 09:17:55 -04:00
v2fly/proxy/vmess/inbound/config.go
Darien Raymond 25dd739285
refactor
2017-11-25 15:20:59 +01:00

13 lines
242 B
Go

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
}