p2ptest

package
v1.12.0-initial-poc.6 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(
	t *testing.T,
	ctx context.Context,
	handler p2p.Handler,
	clientNodeID ids.NodeID,
	serverNodeID ids.NodeID,
) *p2p.Client

NewClient generates a client-server pair and returns the client used to communicate with a server with the specified handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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