Documentation ¶
Overview ¶
Package mock_nodeinfo is a generated GoMock package.
Index ¶
- type Mockchain
- type MockchainMockRecorder
- type Mocktransmitter
- func (m *Mocktransmitter) BroadcastOutbound(arg0 context.Context, arg1 proto.Message) error
- func (m *Mocktransmitter) EXPECT() *MocktransmitterMockRecorder
- func (m *Mocktransmitter) Info() (peer.AddrInfo, error)
- func (m *Mocktransmitter) UnicastOutbound(arg0 context.Context, arg1 peer.AddrInfo, arg2 proto.Message) error
- type MocktransmitterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mockchain ¶
type Mockchain struct {
// contains filtered or unexported fields
}
Mockchain is a mock of chain interface.
func NewMockchain ¶
func NewMockchain(ctrl *gomock.Controller) *Mockchain
NewMockchain creates a new mock instance.
func (*Mockchain) EXPECT ¶
func (m *Mockchain) EXPECT() *MockchainMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockchainMockRecorder ¶
type MockchainMockRecorder struct {
// contains filtered or unexported fields
}
MockchainMockRecorder is the mock recorder for Mockchain.
func (*MockchainMockRecorder) TipHeight ¶
func (mr *MockchainMockRecorder) TipHeight() *gomock.Call
TipHeight indicates an expected call of TipHeight.
type Mocktransmitter ¶
type Mocktransmitter struct {
// contains filtered or unexported fields
}
Mocktransmitter is a mock of transmitter interface.
func NewMocktransmitter ¶
func NewMocktransmitter(ctrl *gomock.Controller) *Mocktransmitter
NewMocktransmitter creates a new mock instance.
func (*Mocktransmitter) BroadcastOutbound ¶
BroadcastOutbound mocks base method.
func (*Mocktransmitter) EXPECT ¶
func (m *Mocktransmitter) EXPECT() *MocktransmitterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Mocktransmitter) Info ¶
func (m *Mocktransmitter) Info() (peer.AddrInfo, error)
Info mocks base method.
func (*Mocktransmitter) UnicastOutbound ¶
func (m *Mocktransmitter) UnicastOutbound(arg0 context.Context, arg1 peer.AddrInfo, arg2 proto.Message) error
UnicastOutbound mocks base method.
type MocktransmitterMockRecorder ¶
type MocktransmitterMockRecorder struct {
// contains filtered or unexported fields
}
MocktransmitterMockRecorder is the mock recorder for Mocktransmitter.
func (*MocktransmitterMockRecorder) BroadcastOutbound ¶
func (mr *MocktransmitterMockRecorder) BroadcastOutbound(arg0, arg1 interface{}) *gomock.Call
BroadcastOutbound indicates an expected call of BroadcastOutbound.
func (*MocktransmitterMockRecorder) Info ¶
func (mr *MocktransmitterMockRecorder) Info() *gomock.Call
Info indicates an expected call of Info.
func (*MocktransmitterMockRecorder) UnicastOutbound ¶
func (mr *MocktransmitterMockRecorder) UnicastOutbound(arg0, arg1, arg2 interface{}) *gomock.Call
UnicastOutbound indicates an expected call of UnicastOutbound.