mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-04 17:27:23 -05: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
|
|
}
|