Documentation
¶
Overview ¶
Package mock_ucaller is a generated GoMock package.
Index ¶
- type MockRequester
- type MockRequesterMockRecorder
- type MockUCaller
- func (m *MockUCaller) EXPECT() *MockUCallerMockRecorder
- func (m *MockUCaller) GetBalance() (*ucaller.ResponseBalance, error)
- func (m *MockUCaller) GetInfo(uid ucaller.ID) (*ucaller.ResponseInfo, error)
- func (m *MockUCaller) GetService() (*ucaller.ResponseService, error)
- func (m *MockUCaller) InitCall(ic *ucaller.InitCall) (*ucaller.ResponseInitCall, error)
- func (m *MockUCaller) InitRepeat(uid ucaller.ID) (*ucaller.ResponseInitRepeat, error)
- type MockUCallerMockRecorder
- func (mr *MockUCallerMockRecorder) GetBalance() *gomock.Call
- func (mr *MockUCallerMockRecorder) GetInfo(uid interface{}) *gomock.Call
- func (mr *MockUCallerMockRecorder) GetService() *gomock.Call
- func (mr *MockUCallerMockRecorder) InitCall(ic interface{}) *gomock.Call
- func (mr *MockUCallerMockRecorder) InitRepeat(uid interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRequester ¶
type MockRequester struct {
// contains filtered or unexported fields
}
MockRequester is a mock of Requester interface.
func NewMockRequester ¶
func NewMockRequester(ctrl *gomock.Controller) *MockRequester
NewMockRequester creates a new mock instance.
func (*MockRequester) EXPECT ¶
func (m *MockRequester) EXPECT() *MockRequesterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRequesterMockRecorder ¶
type MockRequesterMockRecorder struct {
// contains filtered or unexported fields
}
MockRequesterMockRecorder is the mock recorder for MockRequester.
func (*MockRequesterMockRecorder) Get ¶
func (mr *MockRequesterMockRecorder) Get(url interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockUCaller ¶
type MockUCaller struct {
// contains filtered or unexported fields
}
MockUCaller is a mock of UCaller interface.
func NewMockUCaller ¶
func NewMockUCaller(ctrl *gomock.Controller) *MockUCaller
NewMockUCaller creates a new mock instance.
func (*MockUCaller) EXPECT ¶
func (m *MockUCaller) EXPECT() *MockUCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUCaller) GetBalance ¶
func (m *MockUCaller) GetBalance() (*ucaller.ResponseBalance, error)
GetBalance mocks base method.
func (*MockUCaller) GetInfo ¶
func (m *MockUCaller) GetInfo(uid ucaller.ID) (*ucaller.ResponseInfo, error)
GetInfo mocks base method.
func (*MockUCaller) GetService ¶
func (m *MockUCaller) GetService() (*ucaller.ResponseService, error)
GetService mocks base method.
func (*MockUCaller) InitCall ¶
func (m *MockUCaller) InitCall(ic *ucaller.InitCall) (*ucaller.ResponseInitCall, error)
InitCall mocks base method.
func (*MockUCaller) InitRepeat ¶
func (m *MockUCaller) InitRepeat(uid ucaller.ID) (*ucaller.ResponseInitRepeat, error)
InitRepeat mocks base method.
type MockUCallerMockRecorder ¶
type MockUCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockUCallerMockRecorder is the mock recorder for MockUCaller.
func (*MockUCallerMockRecorder) GetBalance ¶
func (mr *MockUCallerMockRecorder) GetBalance() *gomock.Call
GetBalance indicates an expected call of GetBalance.
func (*MockUCallerMockRecorder) GetInfo ¶
func (mr *MockUCallerMockRecorder) GetInfo(uid interface{}) *gomock.Call
GetInfo indicates an expected call of GetInfo.
func (*MockUCallerMockRecorder) GetService ¶
func (mr *MockUCallerMockRecorder) GetService() *gomock.Call
GetService indicates an expected call of GetService.
func (*MockUCallerMockRecorder) InitCall ¶
func (mr *MockUCallerMockRecorder) InitCall(ic interface{}) *gomock.Call
InitCall indicates an expected call of InitCall.
func (*MockUCallerMockRecorder) InitRepeat ¶
func (mr *MockUCallerMockRecorder) InitRepeat(uid interface{}) *gomock.Call
InitRepeat indicates an expected call of InitRepeat.