Versions in this module Expand all Collapse all v1 v1.5.3 Dec 30, 2025 Changes in this version + const SigCongest + const SigData + const SigLoss + type AIMDCongestionWindow struct + func NewAIMDCongestionWindow(cwnd int) *AIMDCongestionWindow + func (cw *AIMDCongestionWindow) DecreaseWindow() + func (cw *AIMDCongestionWindow) HandleSignal(signal CongestionSignal) + func (cw *AIMDCongestionWindow) IncreaseWindow() + func (cw *AIMDCongestionWindow) Size() int + func (cw *AIMDCongestionWindow) String() string + type CUBICCongestionWindow struct + func NewCUBICCongestionWindow(cwnd int, rttEstimator *RTTEstimator) *CUBICCongestionWindow + func (cw *CUBICCongestionWindow) CubicUpdate() + func (cw *CUBICCongestionWindow) DecreaseWindow() + func (cw *CUBICCongestionWindow) HandleSignal(signal CongestionSignal) + func (cw *CUBICCongestionWindow) IncreaseWindow() + func (cw *CUBICCongestionWindow) Size() int + func (cw *CUBICCongestionWindow) String() string + type CongestionSignal int + type CongestionWindow interface + DecreaseWindow func() + HandleSignal func(signal CongestionSignal) + IncreaseWindow func() + Size func() int + String func() string + type FixedCongestionWindow struct + func NewFixedCongestionWindow(cwnd int) *FixedCongestionWindow + func (cw *FixedCongestionWindow) DecreaseWindow() + func (cw *FixedCongestionWindow) HandleSignal(signal CongestionSignal) + func (cw *FixedCongestionWindow) IncreaseWindow() + func (cw *FixedCongestionWindow) Size() int + func (cw *FixedCongestionWindow) String() string + type RTTEstimator interface + AddMeasurement func(sample time.Duration, retransmitted bool) + DeviationRTT func() time.Duration + EstimatedRTT func() time.Duration + String func() string