mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-05 12:39:21 +02:00
12 lines
229 B
Go
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
|
||
|
}
|