package
0.0.3
Repository: https://github.com/ipfs/go-protocolnetwork.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AssertChannelEmpty verifies that a channel has no value currently.
AssertContainsPeer will fail a test if the peer is not in the given peer list.
AssertDoesReceive verifies that a channel returns some value before the given context closes.
AssertDoesReceiveFirst asserts that the given channel receives a value before any of the other channels specified.
AssertReceive verifies that a channel returns a value before the given context closes, and writes into into out, which should be a pointer to the value type.
AssertReceiveFirst verifies that a channel returns a value on the specified channel before the other channels, and writes the value into out, which should be a pointer to the value type.
AssertSends attempts to send the given input value to the given channel before the given context closes.
ContainsPeer returns true if a peer is found n a list of peers.
Flaky will skip the test if the RUN_FLAKY_TESTS environment variable is empty.
GeneratePeers creates n peer ids.
No description provided by the author
No description provided by the author
No description provided by the author
RandomBytes returns a byte array of the given size with random values.
RefuteContainsPeer will fail a test if the peer is in the given peer list.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author