MCPcopy Create free account
hub / github.com/gorilla/websocket / cloneTLSConfig

Function cloneTLSConfig

client.go:417–422  ·  view source on GitHub ↗
(cfg *tls.Config)

Source from the content-addressed store, hash-verified

415}
416
417func cloneTLSConfig(cfg *tls.Config) *tls.Config {
418 if cfg == nil {
419 return &tls.Config{}
420 }
421 return cfg.Clone()
422}

Callers 1

DialContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected