MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / mockHTTPClient

Struct mockHTTPClient

workers/webhook/pkg/webhook/mocks_test.go:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25)
26
27type mockHTTPClient struct {
28 doFunc func(req *http.Request) (*http.Response, error)
29}
30
31func (m *mockHTTPClient) Do(req *http.Request) (*http.Response, error) {
32 return m.doFunc(req)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected