mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-19 10:56:06 -05:00
13 lines
242 B
Go
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
|
|
}
|