Versions in this module Expand all Collapse all v0 v0.1.0 Jul 10, 2023 Changes in this version + var ErrNilResponse = errors.New("response cannot be nil") + type Caller struct + Err error + ExpectedRequest *http.Request + Response *http.Response + type HTTPClient interface + AddCall func(call Caller) + Client func() *http.Client + ExpectedCalls func() + RoundTrip func(req *http.Request) (*http.Response, error) + SetDefaultResponse func(response *http.Response) error + func NewHTTPClient(t *testing.T) HTTPClient