1
0
Fork 0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-01-10 20:53:33 +02:00
Xray-core/proxy/vmess/inbound/config.go
2020-12-11 13:05:29 +08:00

9 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
}