github.com/ezoic/ws@v1.0.4-0.20220713205711-5c1d69e074c5/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  }