inet256test

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrivateKey added in v0.0.7

func NewPrivateKey(t testing.TB, i int) inet256.PrivateKey

NewPrivateKey creates an insecure, but deterministic, and easy to recreate private key suitable for tests.

func OpenNode added in v0.0.6

func OpenNode(t testing.TB, s inet256.Service, i int) inet256.Node

func TestSendRecvOne

func TestSendRecvOne(t testing.TB, src, dst inet256.Node)

func TestService

func TestService(t *testing.T, sf func(testing.TB, []inet256.Service))

Types

This section is empty.

Jump to

Keyboard shortcuts

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