Help us shape the future of Go! Take the 2026 Go Developer Survey

sendertest

package
v1.13.12 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type External added in v0.15.6

type External struct {
	TB testing.TB

	CantSend bool

	SendF func(msg message.OutboundMessage, config engine.SendConfig, subnetID ids.ID, allower subnets.Allower) set.Set[ids.NodeID]
}

External is a test sender

func (*External) Default added in v0.15.6

func (s *External) Default(cant bool)

Default set the default callable value to [cant]

func (*External) Send added in v0.15.6

func (s *External) Send(
	msg message.OutboundMessage,
	config engine.SendConfig,
	subnetID ids.ID,
	allower subnets.Allower,
) set.Set[ids.NodeID]

Jump to

Keyboard shortcuts

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