1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/proxy/vmess/inbound/config.go

12 lines
229 B
Go
Raw Normal View History

2019-02-01 14:08:21 -05:00
// +build !confonly
2015-12-07 14:32:38 -05:00
package inbound
2016-12-07 06:32:03 -05:00
// GetDefaultValue returns default settings of DefaultConfig.
2017-11-25 09:20:59 -05:00
func (c *Config) GetDefaultValue() *DefaultConfig {
if c.GetDefault() == nil {
2020-11-02 06:00:08 -05:00
return &DefaultConfig{}
2016-10-17 08:35:13 -04:00
}
2017-11-25 09:20:59 -05:00
return c.Default
2016-10-17 08:35:13 -04:00
}