github.com/imannamdari/v2ray-core/v5@v5.0.5/proxy/vmess/inbound/config.go (about)

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