internal

package
v0.0.0-...-3cacc02 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package internal is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplication

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

MockApplication is a mock of Application interface

func NewMockApplication

func NewMockApplication(ctrl *gomock.Controller) *MockApplication

NewMockApplication creates a new mock instance

func (*MockApplication) Deliver

func (m *MockApplication) Deliver(msg *pb.Message)

Deliver mocks base method

func (*MockApplication) EXPECT

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

func (*MockApplication) Forward

func (m *MockApplication) Forward(msg *pb.Message, target state.Peer) bool

Forward mocks base method

func (*MockApplication) Heartbeat

func (m *MockApplication) Heartbeat(id state.Peer)

Heartbeat mocks base method

type MockApplicationMockRecorder

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

MockApplicationMockRecorder is the mock recorder for MockApplication

func (*MockApplicationMockRecorder) Deliver

func (mr *MockApplicationMockRecorder) Deliver(msg interface{}) *gomock.Call

Deliver indicates an expected call of Deliver

func (*MockApplicationMockRecorder) Forward

func (mr *MockApplicationMockRecorder) Forward(msg, target interface{}) *gomock.Call

Forward indicates an expected call of Forward

func (*MockApplicationMockRecorder) Heartbeat

func (mr *MockApplicationMockRecorder) Heartbeat(id interface{}) *gomock.Call

Heartbeat indicates an expected call of Heartbeat

Jump to

Keyboard shortcuts

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