Documentation ¶
Overview ¶
Package mock_network is a generated GoMock package.
Index ¶
- type MockOverlay
- func (m *MockOverlay) Broadcast(arg0 uint32, arg1 proto.Message) error
- func (m *MockOverlay) EXPECT() *MockOverlayMockRecorder
- func (m *MockOverlay) GetPeers() []net.Addr
- func (m *MockOverlay) Self() net.Addr
- func (m *MockOverlay) Start(arg0 context.Context) error
- func (m *MockOverlay) Stop(arg0 context.Context) error
- func (m *MockOverlay) Tell(arg0 uint32, arg1 net.Addr, arg2 proto.Message) error
- type MockOverlayMockRecorder
- func (mr *MockOverlayMockRecorder) Broadcast(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOverlayMockRecorder) GetPeers() *gomock.Call
- func (mr *MockOverlayMockRecorder) Self() *gomock.Call
- func (mr *MockOverlayMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *MockOverlayMockRecorder) Stop(arg0 interface{}) *gomock.Call
- func (mr *MockOverlayMockRecorder) Tell(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOverlay ¶
type MockOverlay struct {
// contains filtered or unexported fields
}
MockOverlay is a mock of Overlay interface
func NewMockOverlay ¶
func NewMockOverlay(ctrl *gomock.Controller) *MockOverlay
NewMockOverlay creates a new mock instance
func (*MockOverlay) Broadcast ¶
func (m *MockOverlay) Broadcast(arg0 uint32, arg1 proto.Message) error
Broadcast mocks base method
func (*MockOverlay) EXPECT ¶
func (m *MockOverlay) EXPECT() *MockOverlayMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOverlay) GetPeers ¶
func (m *MockOverlay) GetPeers() []net.Addr
GetPeers mocks base method
func (*MockOverlay) Start ¶
func (m *MockOverlay) Start(arg0 context.Context) error
Start mocks base method
type MockOverlayMockRecorder ¶
type MockOverlayMockRecorder struct {
// contains filtered or unexported fields
}
MockOverlayMockRecorder is the mock recorder for MockOverlay
func (*MockOverlayMockRecorder) Broadcast ¶
func (mr *MockOverlayMockRecorder) Broadcast(arg0, arg1 interface{}) *gomock.Call
Broadcast indicates an expected call of Broadcast
func (*MockOverlayMockRecorder) GetPeers ¶
func (mr *MockOverlayMockRecorder) GetPeers() *gomock.Call
GetPeers indicates an expected call of GetPeers
func (*MockOverlayMockRecorder) Self ¶
func (mr *MockOverlayMockRecorder) Self() *gomock.Call
Self indicates an expected call of Self
func (*MockOverlayMockRecorder) Start ¶
func (mr *MockOverlayMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start
func (*MockOverlayMockRecorder) Stop ¶
func (mr *MockOverlayMockRecorder) Stop(arg0 interface{}) *gomock.Call
Stop indicates an expected call of Stop
func (*MockOverlayMockRecorder) Tell ¶
func (mr *MockOverlayMockRecorder) Tell(arg0, arg1, arg2 interface{}) *gomock.Call
Tell indicates an expected call of Tell
Click to show internal directories.
Click to hide internal directories.