Xray-core/proxy/vmess/inbound/config.go

10 lines
208 B
Go
Raw Permalink Normal View History

2020-11-25 11:01:53 +00:00
package inbound
// GetDefaultValue returns default settings of DefaultConfig.
func (c *Config) GetDefaultValue() *DefaultConfig {
if c.GetDefault() == nil {
return &DefaultConfig{}
}
return c.Default
}