mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-15 18:19:15 -04:00
json config parser
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
package inbound
|
||||
|
||||
import ()
|
||||
|
||||
func (this *Config) GetDefaultValue() *DefaultConfig {
|
||||
if this.GetDefault() == nil {
|
||||
return &DefaultConfig{
|
||||
AlterId: 32,
|
||||
Level: 0,
|
||||
}
|
||||
}
|
||||
return this.Default
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user