MCPcopy
hub / github.com/gorilla/websocket / cloneTLSConfig

Function cloneTLSConfig

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

Source from the content-addressed store, hash-verified

427}
428
429func cloneTLSConfig(cfg *tls.Config) *tls.Config {
430 if cfg == nil {
431 return &tls.Config{}
432 }
433 return cfg.Clone()
434}

Callers 1

DialContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected