mock_ucaller

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_ucaller is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRequester) Get

func (m *MockRequester) Get(url string) ([]byte, error)

Get mocks base method.

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

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.

Jump to

Keyboard shortcuts

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