Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
104
type
ProtocolSelector
interface
{
105
Current() Protocol
106
Fallback() (Protocol, bool)
107
}
108
109
// staticProtocolSelector will not provide a different protocol for Fallback
Callers
3
TestNewProtocolSelector
Function · 0.95
TestWaitForBackoffFallback
Function · 0.95
selectNextProtocol
Function · 0.65
Implementers
3
staticProtocolSelector
connection/protocol.go
remoteProtocolSelector
connection/protocol.go
defaultProtocolSelector
connection/protocol.go
Calls
no outgoing calls
Tested by
2
TestNewProtocolSelector
Function · 0.76
TestWaitForBackoffFallback
Function · 0.76