mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-02 19:19:20 +02:00
10 lines
208 B
Go
10 lines
208 B
Go
|
package inbound
|
||
|
|
||
|
// GetDefaultValue returns default settings of DefaultConfig.
|
||
|
func (c *Config) GetDefaultValue() *DefaultConfig {
|
||
|
if c.GetDefault() == nil {
|
||
|
return &DefaultConfig{}
|
||
|
}
|
||
|
return c.Default
|
||
|
}
|