10 lines
208 B
Go
Raw Normal View History

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