Documentation ¶
Overview ¶
Package mock 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) Do ¶
func (m *MockHTTPClient) Do(ctx context.Context, method, reqURL string, body []byte, options ...wx.HTTPOption) (*http.Response, error)
Do mocks base method.
func (*MockHTTPClient) EXPECT ¶
func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHTTPClient) Upload ¶
func (m *MockHTTPClient) Upload(ctx context.Context, reqURL string, form wx.UploadForm, options ...wx.HTTPOption) (*http.Response, error)
Upload mocks base method.
type MockHTTPClientMockRecorder ¶
type MockHTTPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient.
func (*MockHTTPClientMockRecorder) Do ¶
func (mr *MockHTTPClientMockRecorder) Do(ctx, method, reqURL, body interface{}, options ...interface{}) *gomock.Call
Do indicates an expected call of Do.
func (*MockHTTPClientMockRecorder) Upload ¶
func (mr *MockHTTPClientMockRecorder) Upload(ctx, reqURL, form interface{}, options ...interface{}) *gomock.Call
Upload indicates an expected call of Upload.
type MockUploadForm ¶
type MockUploadForm struct {
// contains filtered or unexported fields
}
MockUploadForm is a mock of UploadForm interface.
func NewMockUploadForm ¶
func NewMockUploadForm(ctrl *gomock.Controller) *MockUploadForm
NewMockUploadForm creates a new mock instance.
func (*MockUploadForm) EXPECT ¶
func (m *MockUploadForm) EXPECT() *MockUploadFormMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUploadFormMockRecorder ¶
type MockUploadFormMockRecorder struct {
// contains filtered or unexported fields
}
MockUploadFormMockRecorder is the mock recorder for MockUploadForm.
func (*MockUploadFormMockRecorder) Write ¶
func (mr *MockUploadFormMockRecorder) Write(w interface{}) *gomock.Call
Write indicates an expected call of Write.