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

Method Do

mocks/mock_limiter.go:141–144  ·  view source on GitHub ↗

Do rewrite *gomock.Call.Do

(f func(uint64))

Source from the content-addressed store, hash-verified

139
140// Do rewrite *gomock.Call.Do
141func (c *MockLimiterSetLimitCall) Do(f func(uint64)) *MockLimiterSetLimitCall {
142 c.Call = c.Call.Do(f)
143 return c
144}
145
146// DoAndReturn rewrite *gomock.Call.DoAndReturn
147func (c *MockLimiterSetLimitCall) DoAndReturn(f func(uint64)) *MockLimiterSetLimitCall {

Callers

nothing calls this directly

Calls 1

DoMethod · 0.45

Tested by

no test coverage detected