package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# Variables

LAN simulates local area network network.
Local simulates local network.
Longhaul simulates bad network.
WAN simulates wide area network.

# Structs

Network represents a network with the given bandwidth, latency, and MTU (Maximum Transmission Unit) configuration, and can produce wrappers of net.Listeners, net.Conn, and various forms of dialing functions.

# Type aliases

ContextDialer is a function matching the signature of net.Dialer.DialContext.
Dialer is a function matching the signature of net.Dial.
TimeoutDialer is a function matching the signature of net.DialTimeout.