package
0.0.0-20220412220916-5ea02083e3ec
Repository: https://github.com/riteshrch/go-edge-device-lib.git
Documentation: pkg.go.dev

# Functions

ConnectionForNetwork generates a pair of network connections with a specified latency.
FindNetworkLimit benchmarks a function to analyze CPU and network relationship.
NewIdentity constructs a new identity object with specific parameters.
ParallelismSlowdown tracks how much overhead is incurred on a ntework bound function when parallelism contentention in increased.
No description provided by the author
No description provided by the author
RandLocalTCPAddress returns a random multiaddr.
No description provided by the author
No description provided by the author

# Variables

ZeroLocalTCPAddress is the "zero" tcp local multiaddr.

# Structs

No description provided by the author
PeerNetParams is a struct to bundle together the four things you need to run a connection with a peer: id, 2keys, and addr.
WriteTrackedConn provides a wrapper for tracking how many write calls are made to a network connection.

# Interfaces

No description provided by the author

# Type aliases

NetworkTestFunc is a benchmark function under test by `FindNetworkLimit`.