mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-10-30 15:57:35 -04:00
12 lines
180 B
Go
12 lines
180 B
Go
package inbound
|
|
|
|
func (v *Config) GetDefaultValue() *DefaultConfig {
|
|
if v.GetDefault() == nil {
|
|
return &DefaultConfig{
|
|
AlterId: 32,
|
|
Level: 0,
|
|
}
|
|
}
|
|
return v.Default
|
|
}
|