mock_network

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_network is a generated GoMock package.

Index

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) Self

func (m *MockOverlay) Self() net.Addr

Self mocks base method

func (*MockOverlay) Start

func (m *MockOverlay) Start(arg0 context.Context) error

Start mocks base method

func (*MockOverlay) Stop

func (m *MockOverlay) Stop(arg0 context.Context) error

Stop mocks base method

func (*MockOverlay) Tell

func (m *MockOverlay) Tell(arg0 uint32, arg1 net.Addr, arg2 proto.Message) error

Tell 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

Jump to

Keyboard shortcuts

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