mock_go_http

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 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) GetForBytes added in v0.2.0

func (m *MockIHttp) GetForBytes(arg0 go_http.RequestParam) (*http.Response, []byte, error)

GetForBytes mocks base method.

func (*MockIHttp) GetForString added in v0.2.0

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

GetForString mocks base method.

func (*MockIHttp) GetForStruct

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

GetForStruct mocks base method.

func (*MockIHttp) MustGetForBytes added in v0.2.0

func (m *MockIHttp) MustGetForBytes(arg0 go_http.RequestParam) (*http.Response, []byte)

MustGetForBytes mocks base method.

func (*MockIHttp) MustGetForString added in v0.2.0

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

MustGetForString mocks base method.

func (*MockIHttp) MustGetForStruct

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

MustGetForStruct mocks base method.

func (*MockIHttp) MustPostForBytes added in v0.2.0

func (m *MockIHttp) MustPostForBytes(arg0 go_http.RequestParam) (*http.Response, []byte)

MustPostForBytes mocks base method.

func (*MockIHttp) MustPostForString added in v0.2.0

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

MustPostForString mocks base method.

func (*MockIHttp) MustPostForStruct

func (m *MockIHttp) MustPostForStruct(arg0 go_http.RequestParam, arg1 interface{}) (*http.Response, []byte)

MustPostForStruct mocks base method.

func (*MockIHttp) MustPostMultipart

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

MustPostMultipart mocks base method.

func (*MockIHttp) PostForBytes added in v0.2.0

func (m *MockIHttp) PostForBytes(arg0 go_http.RequestParam) (*http.Response, []byte, error)

PostForBytes mocks base method.

func (*MockIHttp) PostForString added in v0.2.0

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

PostForString mocks base method.

func (*MockIHttp) PostForStruct

func (m *MockIHttp) PostForStruct(arg0 go_http.RequestParam, arg1 interface{}) (*http.Response, []byte, error)

PostForStruct mocks base method.

func (*MockIHttp) PostMultipart

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

PostMultipart mocks base method.

func (*MockIHttp) PostMultipartForStruct added in v0.2.0

func (m *MockIHttp) PostMultipartForStruct(arg0 go_http.PostMultipartParam, arg1 interface{}) (*http.Response, []byte, error)

PostMultipartForStruct mocks base method.

type MockIHttpMockRecorder

type MockIHttpMockRecorder struct {
	// contains filtered or unexported fields
}

MockIHttpMockRecorder is the mock recorder for MockIHttp.

func (*MockIHttpMockRecorder) GetForBytes added in v0.2.0

func (mr *MockIHttpMockRecorder) GetForBytes(arg0 interface{}) *gomock.Call

GetForBytes indicates an expected call of GetForBytes.

func (*MockIHttpMockRecorder) GetForString added in v0.2.0

func (mr *MockIHttpMockRecorder) GetForString(arg0 interface{}) *gomock.Call

GetForString indicates an expected call of GetForString.

func (*MockIHttpMockRecorder) GetForStruct

func (mr *MockIHttpMockRecorder) GetForStruct(arg0, arg1 interface{}) *gomock.Call

GetForStruct indicates an expected call of GetForStruct.

func (*MockIHttpMockRecorder) MustGetForBytes added in v0.2.0

func (mr *MockIHttpMockRecorder) MustGetForBytes(arg0 interface{}) *gomock.Call

MustGetForBytes indicates an expected call of MustGetForBytes.

func (*MockIHttpMockRecorder) MustGetForString added in v0.2.0

func (mr *MockIHttpMockRecorder) MustGetForString(arg0 interface{}) *gomock.Call

MustGetForString indicates an expected call of MustGetForString.

func (*MockIHttpMockRecorder) MustGetForStruct

func (mr *MockIHttpMockRecorder) MustGetForStruct(arg0, arg1 interface{}) *gomock.Call

MustGetForStruct indicates an expected call of MustGetForStruct.

func (*MockIHttpMockRecorder) MustPostForBytes added in v0.2.0

func (mr *MockIHttpMockRecorder) MustPostForBytes(arg0 interface{}) *gomock.Call

MustPostForBytes indicates an expected call of MustPostForBytes.

func (*MockIHttpMockRecorder) MustPostForString added in v0.2.0

func (mr *MockIHttpMockRecorder) MustPostForString(arg0 interface{}) *gomock.Call

MustPostForString indicates an expected call of MustPostForString.

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) PostForBytes added in v0.2.0

func (mr *MockIHttpMockRecorder) PostForBytes(arg0 interface{}) *gomock.Call

PostForBytes indicates an expected call of PostForBytes.

func (*MockIHttpMockRecorder) PostForString added in v0.2.0

func (mr *MockIHttpMockRecorder) PostForString(arg0 interface{}) *gomock.Call

PostForString indicates an expected call of PostForString.

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.

func (*MockIHttpMockRecorder) PostMultipartForStruct added in v0.2.0

func (mr *MockIHttpMockRecorder) PostMultipartForStruct(arg0, arg1 interface{}) *gomock.Call

PostMultipartForStruct indicates an expected call of PostMultipartForStruct.

Jump to

Keyboard shortcuts

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