Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPClient ¶
HTTPClient is an interface for http.Client type
type MockHTTPClient ¶
MockHTTPClient is an autogenerated mock type for the HTTPClient type
func NewMockHTTPClient ¶
func NewMockHTTPClient(t mockConstructorTestingTNewMockHTTPClient) *MockHTTPClient
NewMockHTTPClient creates a new instance of MockHTTPClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Click to show internal directories.
Click to hide internal directories.