MCPcopy Index your code
hub / github.com/writefreely/writefreely / MockHTTPClient

Struct MockHTTPClient

oauth_test.go:53–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53type MockHTTPClient struct {
54 DoDo func(req *http.Request) (*http.Response, error)
55}
56
57func (m *MockHTTPClient) Do(req *http.Request) (*http.Response, error) {
58 if m.DoDo != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected