github.com/simonmittag/ws@v1.1.0-rc.5.0.20210419231947-82b846128245/dialer_tls_go18.go (about) 1 // +build go1.8 2 3 package ws 4 5 import "crypto/tls" 6 7 func tlsCloneConfig(c *tls.Config) *tls.Config { 8 return c.Clone() 9 }