mock_go_http

package
v1.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mock_go_http is a generated GoMock package.

Index

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) Get

Get mocks base method.

func (*MockIHttp) GetForStruct

func (m *MockIHttp) GetForStruct(arg0 go_http.RequestParam, arg1 interface{}) (*http.Response, error)

GetForStruct mocks base method.

func (*MockIHttp) MustGet

func (m *MockIHttp) MustGet(arg0 go_http.RequestParam) (*http.Response, string)

MustGet mocks base method.

func (*MockIHttp) MustGetForStruct

func (m *MockIHttp) MustGetForStruct(arg0 go_http.RequestParam, arg1 interface{}) *http.Response

MustGetForStruct mocks base method.

func (*MockIHttp) MustPost

func (m *MockIHttp) MustPost(arg0 go_http.RequestParam) (*http.Response, string)

MustPost 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

func (m *MockIHttp) MustPostMultipart(arg0 go_http.PostMultipartParam) (*http.Response, string)

MustPostMultipart mocks base method.

func (*MockIHttp) Post

func (m *MockIHttp) Post(arg0 go_http.RequestParam) (*http.Response, string, error)

Post 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

func (m *MockIHttp) PostMultipart(arg0 go_http.PostMultipartParam) (*http.Response, string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL