github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/proxy/vmess/inbound/config.go (about) 1 package inbound 2 3 // GetDefaultValue returns default settings of DefaultConfig. 4 func (c *Config) GetDefaultValue() *DefaultConfig { 5 if c.GetDefault() == nil { 6 return &DefaultConfig{} 7 } 8 return c.Default 9 }