Documentation ¶
Overview ¶
Package mock_go_http is a generated GoMock package.
Index ¶
- type MockIHttp
- func (m *MockIHttp) EXPECT() *MockIHttpMockRecorder
- func (m *MockIHttp) Get(arg0 go_http.RequestParam) (*http.Response, string, error)
- func (m *MockIHttp) GetForStruct(arg0 go_http.RequestParam, arg1 interface{}) (*http.Response, error)
- func (m *MockIHttp) MustGet(arg0 go_http.RequestParam) (*http.Response, string)
- func (m *MockIHttp) MustGetForStruct(arg0 go_http.RequestParam, arg1 interface{}) *http.Response
- func (m *MockIHttp) MustPost(arg0 go_http.RequestParam) (*http.Response, string)
- func (m *MockIHttp) MustPostForStruct(arg0 go_http.RequestParam, arg1 interface{}) *http.Response
- func (m *MockIHttp) MustPostMultipart(arg0 go_http.PostMultipartParam) (*http.Response, string)
- func (m *MockIHttp) Post(arg0 go_http.RequestParam) (*http.Response, string, error)
- func (m *MockIHttp) PostForStruct(arg0 go_http.RequestParam, arg1 interface{}) (*http.Response, error)
- func (m *MockIHttp) PostMultipart(arg0 go_http.PostMultipartParam) (*http.Response, string, error)
- type MockIHttpMockRecorder
- func (mr *MockIHttpMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) GetForStruct(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) MustGet(arg0 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) MustGetForStruct(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) MustPost(arg0 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) MustPostForStruct(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) MustPostMultipart(arg0 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) Post(arg0 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) PostForStruct(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIHttpMockRecorder) PostMultipart(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIHttp ¶
type MockIHttp struct {
// contains filtered or unexported fields
}
MockIHttp is a mock of IHttp interface.
func NewMockIHttp ¶
func NewMockIHttp(ctrl *gomock.Controller) *MockIHttp
NewMockIHttp creates a new mock instance.
func (*MockIHttp) EXPECT ¶
func (m *MockIHttp) EXPECT() *MockIHttpMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIHttp) GetForStruct ¶
func (m *MockIHttp) GetForStruct(arg0 go_http.RequestParam, arg1 interface{}) (*http.Response, error)
GetForStruct mocks base method.
func (*MockIHttp) MustGetForStruct ¶
func (m *MockIHttp) MustGetForStruct(arg0 go_http.RequestParam, arg1 interface{}) *http.Response
MustGetForStruct mocks base method.
func (*MockIHttp) MustPostForStruct ¶
func (m *MockIHttp) MustPostForStruct(arg0 go_http.RequestParam, arg1 interface{}) *http.Response
MustPostForStruct mocks base method.
func (*MockIHttp) MustPostMultipart ¶
MustPostMultipart mocks base method.
func (*MockIHttp) PostForStruct ¶
func (m *MockIHttp) PostForStruct(arg0 go_http.RequestParam, arg1 interface{}) (*http.Response, error)
PostForStruct mocks base method.
func (*MockIHttp) PostMultipart ¶
PostMultipart mocks base method.
type MockIHttpMockRecorder ¶
type MockIHttpMockRecorder struct {
// contains filtered or unexported fields
}
MockIHttpMockRecorder is the mock recorder for MockIHttp.
func (*MockIHttpMockRecorder) Get ¶
func (mr *MockIHttpMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockIHttpMockRecorder) GetForStruct ¶
func (mr *MockIHttpMockRecorder) GetForStruct(arg0, arg1 interface{}) *gomock.Call
GetForStruct indicates an expected call of GetForStruct.
func (*MockIHttpMockRecorder) MustGet ¶
func (mr *MockIHttpMockRecorder) MustGet(arg0 interface{}) *gomock.Call
MustGet indicates an expected call of MustGet.
func (*MockIHttpMockRecorder) MustGetForStruct ¶
func (mr *MockIHttpMockRecorder) MustGetForStruct(arg0, arg1 interface{}) *gomock.Call
MustGetForStruct indicates an expected call of MustGetForStruct.
func (*MockIHttpMockRecorder) MustPost ¶
func (mr *MockIHttpMockRecorder) MustPost(arg0 interface{}) *gomock.Call
MustPost indicates an expected call of MustPost.
func (*MockIHttpMockRecorder) MustPostForStruct ¶
func (mr *MockIHttpMockRecorder) MustPostForStruct(arg0, arg1 interface{}) *gomock.Call
MustPostForStruct indicates an expected call of MustPostForStruct.
func (*MockIHttpMockRecorder) MustPostMultipart ¶
func (mr *MockIHttpMockRecorder) MustPostMultipart(arg0 interface{}) *gomock.Call
MustPostMultipart indicates an expected call of MustPostMultipart.
func (*MockIHttpMockRecorder) Post ¶
func (mr *MockIHttpMockRecorder) Post(arg0 interface{}) *gomock.Call
Post indicates an expected call of Post.
func (*MockIHttpMockRecorder) PostForStruct ¶
func (mr *MockIHttpMockRecorder) PostForStruct(arg0, arg1 interface{}) *gomock.Call
PostForStruct indicates an expected call of PostForStruct.
func (*MockIHttpMockRecorder) PostMultipart ¶
func (mr *MockIHttpMockRecorder) PostMultipart(arg0 interface{}) *gomock.Call
PostMultipart indicates an expected call of PostMultipart.