MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / Fallback

Method Fallback

connection/protocol.go:106–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104type ProtocolSelector interface {
105 Current() Protocol
106 Fallback() (Protocol, bool)
107}
108
109// staticProtocolSelector will not provide a different protocol for Fallback

Callers 3

TestNewProtocolSelectorFunction · 0.95
selectNextProtocolFunction · 0.65

Implementers 3

staticProtocolSelectorconnection/protocol.go
remoteProtocolSelectorconnection/protocol.go
defaultProtocolSelectorconnection/protocol.go

Calls

no outgoing calls

Tested by 2

TestNewProtocolSelectorFunction · 0.76