coretest

package
v0.0.0-...-6c4fd92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2024 License: NIST-PD-fallback Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunRttEstimatorTest

func RunRttEstimatorTest(t testing.TB, rtte RttEstimator)

RunRttEstimatorTest tests an RTT estimator implementation.

Types

type RttEstimator

type RttEstimator interface {
	Push(now time.Time, rtt time.Duration, withinRTT bool)
	Backoff()
	SRTT() time.Duration
	RTTVAR() time.Duration
	RTO() time.Duration
}

RttEstimator represents an RTT estimator implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL