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

Method fetch

connection/protocol_test.go:23–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21}
22
23func (dmf *dynamicMockFetcher) fetch() edgediscovery.PercentageFetcher {
24 return func() (edgediscovery.ProtocolPercents, error) {
25 return dmf.protocolPercents, dmf.err
26 }
27}
28
29func TestNewProtocolSelector(t *testing.T) {
30 tests := []struct {

Calls

no outgoing calls

Tested by

no test coverage detected