MCPcopy Create free account
hub / github.com/Thunder-Compute/thunder-cli / MockHTTPClient

Struct MockHTTPClient

internal/testutils/mocks.go:12–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10}
11
12type MockHTTPClient struct {
13 DoFunc func(req *http.Request) (*http.Response, error)
14}
15
16func (m *MockHTTPClient) Do(req *http.Request) (*http.Response, error) {
17 if m.DoFunc != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected