Documentation ¶
Overview ¶
Package httpClient is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Http ¶
type MockHttp ¶
type MockHttp struct {
// contains filtered or unexported fields
}
MockHttp is a mock of Http interface.
func NewMockHttp ¶
func NewMockHttp(ctrl *gomock.Controller) *MockHttp
NewMockHttp creates a new mock instance.
func (*MockHttp) CallURL ¶
func (m *MockHttp) CallURL(method, url string, header map[string]string, rawData []byte) ([]byte, error)
CallURL mocks base method.
func (*MockHttp) EXPECT ¶
func (m *MockHttp) EXPECT() *MockHttpMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHttpMockRecorder ¶
type MockHttpMockRecorder struct {
// contains filtered or unexported fields
}
MockHttpMockRecorder is the mock recorder for MockHttp.
func (*MockHttpMockRecorder) CallURL ¶
func (mr *MockHttpMockRecorder) CallURL(method, url, header, rawData interface{}) *gomock.Call
CallURL indicates an expected call of CallURL.
func (*MockHttpMockRecorder) Connect ¶
func (mr *MockHttpMockRecorder) Connect() *gomock.Call
Connect indicates an expected call of Connect.
Click to show internal directories.
Click to hide internal directories.