Versions in this module Expand all Collapse all v0 v0.16.2 Dec 14, 2023 v0.16.1 Dec 14, 2023 Changes in this version + func InternetLatencyDelayGenerator(mediumDelay time.Duration, largeDelay time.Duration, percentMedium float64, ...) delay.Generator + type Network interface + Adapter func(tnet.Identity) gsnet.GraphSyncNetwork + HasPeer func(peer.ID) bool + func RateLimitedVirtualNetwork(rs mockrouting.Server, d delay.D, rateLimitGenerator RateLimitGenerator) Network + func StreamNet(ctx context.Context, net mockpeernet.Mocknet) Network + func VirtualNetwork(d delay.D) Network + type RateLimitGenerator interface + NextRateLimit func() float64 + func FixedRateLimitGenerator(rateLimit float64) RateLimitGenerator + func VariableRateLimitGenerator(rateLimit float64, std float64, rng *rand.Rand) RateLimitGenerator