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

	var o DedupConfig
	o.Enabled = c.Enabled
	o.MaxStale = c.MaxStale
	o.Prefix = c.Prefix
	o.TTL = c.TTL
	return &o
}
func (c *DedupConfig) Copy() *DedupConfig {
	if c == nil {
		return nil
	}

	var o DedupConfig
	o.Enabled = c.Enabled
	o.MaxStale = c.MaxStale
	o.Prefix = c.Prefix
	o.TTL = c.TTL
	return &o
}
func ( c * DedupConfig ) Copy ( ) * DedupConfig { if c == nil { return nil } var o DedupConfig o . Enabled = c . Enabled o . MaxStale = c . MaxStale o . Prefix = c . Prefix o . TTL = c . TTL return & o }
// Copy returns a deep copy of this configuration.
Copy returns a deep copy of this configuration .