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

Method Do

mocks/mock_limiter.go:69–72  ·  view source on GitHub ↗

Do rewrite *gomock.Call.Do

(f func(string) error)

Source from the content-addressed store, hash-verified

67
68// Do rewrite *gomock.Call.Do
69func (c *MockLimiterAcquireCall) Do(f func(string) error) *MockLimiterAcquireCall {
70 c.Call = c.Call.Do(f)
71 return c
72}
73
74// DoAndReturn rewrite *gomock.Call.DoAndReturn
75func (c *MockLimiterAcquireCall) DoAndReturn(f func(string) error) *MockLimiterAcquireCall {

Callers 15

newTunnelMetricsFunction · 0.45
createFileWriterFunction · 0.45
createRollingLoggerFunction · 0.45
DoMethod · 0.45
DoMethod · 0.45
newClientCollectorFunction · 0.45
NotifyMethod · 0.45
sendSocksRequestFunction · 0.45
GETMethod · 0.45
pollFunction · 0.45
GetAppInfoFunction · 0.45

Calls

no outgoing calls

Tested by 4

sendSocksRequestFunction · 0.36
WriteHeaderMethod · 0.36
CloseWriteMethod · 0.36
testRequestFunction · 0.36