github.com/v2fly/v2ray-core/v4@v4.45.2/proxy/vmess/inbound/config.go (about) 1 //go:build !confonly 2 // +build !confonly 3 4 package inbound 5 6 // GetDefaultValue returns default settings of DefaultConfig. 7 func (c *Config) GetDefaultValue() *DefaultConfig { 8 if c.GetDefault() == nil { 9 return &DefaultConfig{} 10 } 11 return c.Default 12 }