Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
417
func
cloneTLSConfig(cfg *tls.Config) *tls.Config {
418
if
cfg == nil {
419
return
&tls.Config{}
420
}
421
return
cfg.Clone()
422
}
Callers
1
DialContext
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected