Documentation ¶
Overview ¶
Package mock_relayer is a generated GoMock package.
Index ¶
- type MockMetrics
- type MockMetricsMockRecorder
- type MockRelayedChain
- func (m *MockRelayedChain) BridgeContractAddress() *common.Address
- func (m *MockRelayedChain) ChainID() (*big.Int, error)
- func (m *MockRelayedChain) DomainID() uint8
- func (m *MockRelayedChain) EXPECT() *MockRelayedChainMockRecorder
- func (m *MockRelayedChain) ExecOnDest(message *message.Message, data [][]byte) error
- func (m *MockRelayedChain) GetSignatures(message *message.Message) ([][]byte, error)
- func (m *MockRelayedChain) PollEvents(stop <-chan struct{}, sysErr chan<- error, eventsChan chan *message.Message)
- func (m *MockRelayedChain) RelayId() uint8
- func (m *MockRelayedChain) VoteOnDest(message *message.Message) error
- func (m *MockRelayedChain) VoteOnRelay(message *message.Message, int2 *big.Int, address *common.Address) error
- type MockRelayedChainMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMetrics ¶
type MockMetrics struct {
// contains filtered or unexported fields
}
MockMetrics is a mock of Metrics interface.
func NewMockMetrics ¶
func NewMockMetrics(ctrl *gomock.Controller) *MockMetrics
NewMockMetrics creates a new mock instance.
func (*MockMetrics) EXPECT ¶
func (m *MockMetrics) EXPECT() *MockMetricsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetrics) TrackDepositMessage ¶
func (m_2 *MockMetrics) TrackDepositMessage(m *message.Message)
TrackDepositMessage mocks base method.
type MockMetricsMockRecorder ¶
type MockMetricsMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricsMockRecorder is the mock recorder for MockMetrics.
func (*MockMetricsMockRecorder) TrackDepositMessage ¶
func (mr *MockMetricsMockRecorder) TrackDepositMessage(m interface{}) *gomock.Call
TrackDepositMessage indicates an expected call of TrackDepositMessage.
type MockRelayedChain ¶
type MockRelayedChain struct {
// contains filtered or unexported fields
}
MockRelayedChain is a mock of RelayedChain interface.
func NewMockRelayedChain ¶
func NewMockRelayedChain(ctrl *gomock.Controller) *MockRelayedChain
NewMockRelayedChain creates a new mock instance.
func (*MockRelayedChain) BridgeContractAddress ¶
func (m *MockRelayedChain) BridgeContractAddress() *common.Address
func (*MockRelayedChain) DomainID ¶
func (m *MockRelayedChain) DomainID() uint8
DomainID mocks base method.
func (*MockRelayedChain) EXPECT ¶
func (m *MockRelayedChain) EXPECT() *MockRelayedChainMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelayedChain) ExecOnDest ¶
func (m *MockRelayedChain) ExecOnDest(message *message.Message, data [][]byte) error
Write mocks base method.
func (*MockRelayedChain) GetSignatures ¶
func (m *MockRelayedChain) GetSignatures(message *message.Message) ([][]byte, error)
Write mocks base method.
func (*MockRelayedChain) PollEvents ¶
func (m *MockRelayedChain) PollEvents(stop <-chan struct{}, sysErr chan<- error, eventsChan chan *message.Message)
PollEvents mocks base method.
func (*MockRelayedChain) RelayId ¶
func (m *MockRelayedChain) RelayId() uint8
func (*MockRelayedChain) VoteOnDest ¶
func (m *MockRelayedChain) VoteOnDest(message *message.Message) error
Write mocks base method.
func (*MockRelayedChain) VoteOnRelay ¶
func (m *MockRelayedChain) VoteOnRelay(message *message.Message, int2 *big.Int, address *common.Address) error
Write mocks base method.
type MockRelayedChainMockRecorder ¶
type MockRelayedChainMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayedChainMockRecorder is the mock recorder for MockRelayedChain.
func (*MockRelayedChainMockRecorder) DomainID ¶
func (mr *MockRelayedChainMockRecorder) DomainID() *gomock.Call
DomainID indicates an expected call of DomainID.
func (*MockRelayedChainMockRecorder) PollEvents ¶
func (mr *MockRelayedChainMockRecorder) PollEvents(stop, sysErr, eventsChan interface{}) *gomock.Call
PollEvents indicates an expected call of PollEvents.
func (*MockRelayedChainMockRecorder) Write ¶
func (mr *MockRelayedChainMockRecorder) Write(message interface{}) *gomock.Call
Write indicates an expected call of Write.