mocks

package
v0.0.0-...-782863c Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetTopology

type NetTopology struct {
	mock.Mock
}

NetTopology is an autogenerated mock type for the NetTopology type

func (*NetTopology) Dial

func (_m *NetTopology) Dial(nodeID uint64, timeout time.Duration) (*network.Conn, error)

Dial provides a mock function with given fields: nodeID, timeout

func (*NetTopology) SeedPublicKeys

func (_m *NetTopology) SeedPublicKeys() map[uint64]signature.PublicKey

SeedPublicKeys provides a mock function with given fields:

func (*NetTopology) TotalNodes

func (_m *NetTopology) TotalNodes() uint64

TotalNodes provides a mock function with given fields:

Jump to

Keyboard shortcuts

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