mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-23 02:26:49 -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
|
|
}
|