config.go 208 B

123456789
  1. package inbound
  2. // GetDefaultValue returns default settings of DefaultConfig.
  3. func (c *Config) GetDefaultValue() *DefaultConfig {
  4. if c.GetDefault() == nil {
  5. return &DefaultConfig{}
  6. }
  7. return c.Default
  8. }