github.com/opsramp/moby@v1.13.1/pkg/tlsconfig/tlsconfig_clone.go (about) 1 // +build go1.8 2 3 package tlsconfig 4 5 import "crypto/tls" 6 7 // Clone returns a clone of tls.Config. This function is provided for 8 // compatibility for go1.7 that doesn't include this method in stdlib. 9 func Clone(c *tls.Config) *tls.Config { 10 return c.Clone() 11 }