Documentation ¶
Overview ¶
Package mock_utils is a generated GoMock package.
Index ¶
- type MockHTTPClient
- func (m *MockHTTPClient) Delete(url string) (*utils.LiteHTTPResp, error)
- func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
- func (m *MockHTTPClient) Get(url string) (*utils.LiteHTTPResp, error)
- func (m *MockHTTPClient) Post(url, body string) (*utils.LiteHTTPResp, error)
- func (m *MockHTTPClient) Put(url, body string) (*utils.LiteHTTPResp, error)
- type MockHTTPClientMockRecorder
- func (mr *MockHTTPClientMockRecorder) Delete(url interface{}) *gomock.Call
- func (mr *MockHTTPClientMockRecorder) Get(url interface{}) *gomock.Call
- func (mr *MockHTTPClientMockRecorder) Post(url, body interface{}) *gomock.Call
- func (mr *MockHTTPClientMockRecorder) Put(url, body interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHTTPClient ¶
type MockHTTPClient struct {
// contains filtered or unexported fields
}
MockHTTPClient is a mock of HTTPClient interface
func NewMockHTTPClient ¶
func NewMockHTTPClient(ctrl *gomock.Controller) *MockHTTPClient
NewMockHTTPClient creates a new mock instance
func (*MockHTTPClient) Delete ¶
func (m *MockHTTPClient) Delete(url string) (*utils.LiteHTTPResp, error)
Delete mocks base method
func (*MockHTTPClient) EXPECT ¶
func (m *MockHTTPClient) EXPECT() *MockHTTPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHTTPClient) Get ¶
func (m *MockHTTPClient) Get(url string) (*utils.LiteHTTPResp, error)
Get mocks base method
func (*MockHTTPClient) Post ¶
func (m *MockHTTPClient) Post(url, body string) (*utils.LiteHTTPResp, error)
Post mocks base method
func (*MockHTTPClient) Put ¶
func (m *MockHTTPClient) Put(url, body string) (*utils.LiteHTTPResp, error)
Put mocks base method
type MockHTTPClientMockRecorder ¶
type MockHTTPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockHTTPClientMockRecorder is the mock recorder for MockHTTPClient
func (*MockHTTPClientMockRecorder) Delete ¶
func (mr *MockHTTPClientMockRecorder) Delete(url interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockHTTPClientMockRecorder) Get ¶
func (mr *MockHTTPClientMockRecorder) Get(url interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockHTTPClientMockRecorder) Post ¶
func (mr *MockHTTPClientMockRecorder) Post(url, body interface{}) *gomock.Call
Post indicates an expected call of Post
func (*MockHTTPClientMockRecorder) Put ¶
func (mr *MockHTTPClientMockRecorder) Put(url, body interface{}) *gomock.Call
Put indicates an expected call of Put
Click to show internal directories.
Click to hide internal directories.