Documentation ¶
Overview ¶
Package mockhttp is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHttpClient ¶
type MockHttpClient struct {
// contains filtered or unexported fields
}
MockHttpClient is a mock of HttpClient interface.
func NewMockHttpClient ¶
func NewMockHttpClient(ctrl *gomock.Controller) *MockHttpClient
NewMockHttpClient creates a new mock instance.
func (*MockHttpClient) EXPECT ¶
func (m *MockHttpClient) EXPECT() *MockHttpClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHttpClientMockRecorder ¶
type MockHttpClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHttpClientMockRecorder is the mock recorder for MockHttpClient.
func (*MockHttpClientMockRecorder) Get ¶
func (mr *MockHttpClientMockRecorder) Get(url, headers interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockHttpClientMockRecorder) Post ¶
func (mr *MockHttpClientMockRecorder) Post(url, body, headers interface{}) *gomock.Call
Post indicates an expected call of Post.
Click to show internal directories.
Click to hide internal directories.