MCPcopy Index your code
hub / github.com/coder/coder / WithDERPTLSConfig

Function WithDERPTLSConfig

codersdk/client.go:733–737  ·  view source on GitHub ↗
(cfg *tls.Config)

Source from the content-addressed store, hash-verified

731}
732
733func WithDERPTLSConfig(cfg *tls.Config) ClientOption {
734 return func(c *Client) {
735 c.derpTLSConfig = cfg
736 }
737}
738
739// DERPTLSConfig returns the optional TLS config for DERP connections.
740func (c *Client) DERPTLSConfig() *tls.Config {

Callers 2

InitClientMethod · 0.92
TryInitClientMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected