0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-04-28 14:21:25 +03:00
2020-11-25 19:01:53 +08:00

12 lines
229 B
Go

// +build !confonly
package inbound
// GetDefaultValue returns default settings of DefaultConfig.
func (c *Config) GetDefaultValue() *DefaultConfig {
if c.GetDefault() == nil {
return &DefaultConfig{}
}
return c.Default
}