Documentation ¶
Overview ¶
Package mock_rpcclient is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) AbstractEthClient(chainID common.ChainID) (chain.BatchCallClient, error)
- func (m *MockClientInterface) CallContext(context context.Context, result interface{}, chainID uint64, method string, ...) error
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) EthClient(chainID uint64) (chain.ClientInterface, error)
- func (m *MockClientInterface) EthClients(chainIDs []uint64) (map[uint64]chain.ClientInterface, error)
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) AbstractEthClient(chainID interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CallContext(context, result, chainID, method interface{}, args ...interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) EthClient(chainID interface{}) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) EthClients(chainIDs interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) AbstractEthClient ¶
func (m *MockClientInterface) AbstractEthClient(chainID common.ChainID) (chain.BatchCallClient, error)
AbstractEthClient mocks base method.
func (*MockClientInterface) CallContext ¶
func (m *MockClientInterface) CallContext(context context.Context, result interface{}, chainID uint64, method string, args ...interface{}) error
CallContext mocks base method.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) EthClient ¶
func (m *MockClientInterface) EthClient(chainID uint64) (chain.ClientInterface, error)
EthClient mocks base method.
func (*MockClientInterface) EthClients ¶
func (m *MockClientInterface) EthClients(chainIDs []uint64) (map[uint64]chain.ClientInterface, error)
EthClients mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) AbstractEthClient ¶
func (mr *MockClientInterfaceMockRecorder) AbstractEthClient(chainID interface{}) *gomock.Call
AbstractEthClient indicates an expected call of AbstractEthClient.
func (*MockClientInterfaceMockRecorder) CallContext ¶
func (mr *MockClientInterfaceMockRecorder) CallContext(context, result, chainID, method interface{}, args ...interface{}) *gomock.Call
CallContext indicates an expected call of CallContext.
func (*MockClientInterfaceMockRecorder) EthClient ¶
func (mr *MockClientInterfaceMockRecorder) EthClient(chainID interface{}) *gomock.Call
EthClient indicates an expected call of EthClient.
func (*MockClientInterfaceMockRecorder) EthClients ¶
func (mr *MockClientInterfaceMockRecorder) EthClients(chainIDs interface{}) *gomock.Call
EthClients indicates an expected call of EthClients.