github.com/cevatbarisyilmaz/lossy (go): Package lossy simulates bandwidth, latency and packet loss for net.PacketConn and net.Conn interfaces.  Its main usage is to test robustness of applications and network protocols run over unreliable transport protocols such as UDP or IP. As a side benefit, it can also be used as outbound bandwidth limiter.  lossy only alters the writing side of the connection, reading side is kept as it is.
Keywords: go|golang|latency|lossy|packet-loss|udp