config/ssl.go
func (c *SSLConfig) Copy() *SSLConfig {
	if c == nil {
		return nil
	}

	var o SSLConfig
	o.CaCert = c.CaCert
	o.CaPath = c.CaPath
	o.Cert = c.Cert
	o.Enabled = c.Enabled
	o.Key = c.Key
	o.ServerName = c.ServerName
	o.Verify = c.Verify
	return &o
}
func (c *SSLConfig) Copy() *SSLConfig {
	if c == nil {
		return nil
	}

	var o SSLConfig
	o.CaCert = c.CaCert
	o.CaPath = c.CaPath
	o.Cert = c.Cert
	o.Enabled = c.Enabled
	o.Key = c.Key
	o.ServerName = c.ServerName
	o.Verify = c.Verify
	return &o
}
// Copy returns a deep copy of this configuration.