mock_nodeinfo

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 any) *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 any) *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