mock_nodeinfo

package
v1.11.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_nodeinfo is a generated GoMock package.

Index

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.

func (*Mockchain) TipHeight

func (m *Mockchain) TipHeight() uint64

TipHeight mocks base method.

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

func (m *Mocktransmitter) BroadcastOutbound(arg0 context.Context, arg1 proto.Message) error

BroadcastOutbound mocks base method.

func (*Mocktransmitter) EXPECT

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

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.

Jump to

Keyboard shortcuts

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