mock_rolldpos

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_rolldpos is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDNet

type MockDNet struct {
	// contains filtered or unexported fields
}

MockDNet is a mock of DNet interface

func NewMockDNet

func NewMockDNet(ctrl *gomock.Controller) *MockDNet

NewMockDNet creates a new mock instance

func (*MockDNet) Broadcast

func (m *MockDNet) Broadcast(msg proto.Message) error

Broadcast mocks base method

func (*MockDNet) EXPECT

func (m *MockDNet) EXPECT() *MockDNetMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockDNet) Self

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

Self mocks base method

func (*MockDNet) Tell

func (m *MockDNet) Tell(node net.Addr, msg proto.Message) error

Tell mocks base method

type MockDNetMockRecorder

type MockDNetMockRecorder struct {
	// contains filtered or unexported fields
}

MockDNetMockRecorder is the mock recorder for MockDNet

func (*MockDNetMockRecorder) Broadcast

func (mr *MockDNetMockRecorder) Broadcast(msg interface{}) *gomock.Call

Broadcast indicates an expected call of Broadcast

func (*MockDNetMockRecorder) Self

func (mr *MockDNetMockRecorder) Self() *gomock.Call

Self indicates an expected call of Self

func (*MockDNetMockRecorder) Tell

func (mr *MockDNetMockRecorder) Tell(node, msg 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