Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockIHTTPClientWrapper
- func (m *MockIHTTPClientWrapper) EXPECT() *MockIHTTPClientWrapperMockRecorder
- func (m *MockIHTTPClientWrapper) Get(url string, headers http.Header) (*http.Response, error)
- func (m *MockIHTTPClientWrapper) Post(url string, request interface{}, headers http.Header) (*http.Response, error)
- func (m *MockIHTTPClientWrapper) PostMultipart(url string, body *bytes.Buffer, headers http.Header) (*http.Response, error)
- func (m *MockIHTTPClientWrapper) PostMultipartWithContext(ctx context.Context, url string, body *bytes.Buffer, headers http.Header) (*http.Response, error)
- func (m *MockIHTTPClientWrapper) PostWithContext(ctx context.Context, url string, request interface{}, headers http.Header) (*http.Response, error)
- type MockIHTTPClientWrapperMockRecorder
- func (mr *MockIHTTPClientWrapperMockRecorder) Get(url, headers interface{}) *gomock.Call
- func (mr *MockIHTTPClientWrapperMockRecorder) Post(url, request, headers interface{}) *gomock.Call
- func (mr *MockIHTTPClientWrapperMockRecorder) PostMultipart(url, body, headers interface{}) *gomock.Call
- func (mr *MockIHTTPClientWrapperMockRecorder) PostMultipartWithContext(ctx, url, body, headers interface{}) *gomock.Call
- func (mr *MockIHTTPClientWrapperMockRecorder) PostWithContext(ctx, url, request, headers interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIHTTPClientWrapper ¶
type MockIHTTPClientWrapper struct {
// contains filtered or unexported fields
}
MockIHTTPClientWrapper is a mock of IHTTPClientWrapper interface.
func NewMockIHTTPClientWrapper ¶
func NewMockIHTTPClientWrapper(ctrl *gomock.Controller) *MockIHTTPClientWrapper
NewMockIHTTPClientWrapper creates a new mock instance.
func (*MockIHTTPClientWrapper) EXPECT ¶
func (m *MockIHTTPClientWrapper) EXPECT() *MockIHTTPClientWrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIHTTPClientWrapper) Post ¶
func (m *MockIHTTPClientWrapper) Post(url string, request interface{}, headers http.Header) (*http.Response, error)
Post mocks base method.
func (*MockIHTTPClientWrapper) PostMultipart ¶
func (m *MockIHTTPClientWrapper) PostMultipart(url string, body *bytes.Buffer, headers http.Header) (*http.Response, error)
PostMultipart mocks base method.
type MockIHTTPClientWrapperMockRecorder ¶
type MockIHTTPClientWrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockIHTTPClientWrapperMockRecorder is the mock recorder for MockIHTTPClientWrapper.
func (*MockIHTTPClientWrapperMockRecorder) Get ¶
func (mr *MockIHTTPClientWrapperMockRecorder) Get(url, headers interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockIHTTPClientWrapperMockRecorder) Post ¶
func (mr *MockIHTTPClientWrapperMockRecorder) Post(url, request, headers interface{}) *gomock.Call
Post indicates an expected call of Post.
func (*MockIHTTPClientWrapperMockRecorder) PostMultipart ¶
func (mr *MockIHTTPClientWrapperMockRecorder) PostMultipart(url, body, headers interface{}) *gomock.Call
PostMultipart indicates an expected call of PostMultipart.
func (*MockIHTTPClientWrapperMockRecorder) PostMultipartWithContext ¶
func (mr *MockIHTTPClientWrapperMockRecorder) PostMultipartWithContext(ctx, url, body, headers interface{}) *gomock.Call
PostMultipartWithContext indicates an expected call of PostMultipartWithContext.
func (*MockIHTTPClientWrapperMockRecorder) PostWithContext ¶
func (mr *MockIHTTPClientWrapperMockRecorder) PostWithContext(ctx, url, request, headers interface{}) *gomock.Call
PostWithContext indicates an expected call of PostWithContext.