MCPcopy
hub / github.com/cloudflare/cloudflared / defaultProtocolSelector

Struct defaultProtocolSelector

connection/protocol.go:198–201  ·  view source on GitHub ↗

defaultProtocolSelector will allow for a protocol to have a fallback

Source from the content-addressed store, hash-verified

196
197// defaultProtocolSelector will allow for a protocol to have a fallback
198type defaultProtocolSelector struct {
199 lock sync.RWMutex
200 current Protocol
201}
202
203func newDefaultProtocolSelector(
204 current Protocol,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected