MCPcopy Create free account
hub / github.com/OverloadBlitz/cloudcent-cli / RoundTrip

Method RoundTrip

internal/api/client_test.go:17–19  ·  view source on GitHub ↗
(req *http.Request)

Source from the content-addressed store, hash-verified

15type roundTripFunc func(*http.Request) (*http.Response, error)
16
17func (f roundTripFunc) RoundTrip(req *http.Request) (*http.Response, error) {
18 return f(req)
19}
20
21func newTestClient(t *testing.T, withAuth bool, fn roundTripFunc) *Client {
22 t.Helper()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected