MCPcopy Create free account
hub / github.com/GetStream/stream-go2 / mockRequester

Struct mockRequester

utils_test.go:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28type mockRequester struct {
29 req *http.Request
30 resp string
31}
32
33func (m *mockRequester) Do(req *http.Request) (*http.Response, error) {
34 m.req = req

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected