internal

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RTT

type RTT struct {
	// contains filtered or unexported fields
}

func NewRTT

func NewRTT() *RTT

func (*RTT) Add

func (r *RTT) Add(latestRTT, ackDelay time.Duration)

func (*RTT) RTO added in v0.0.3

func (r *RTT) RTO() time.Duration

func (*RTT) RTT

func (r *RTT) RTT() time.Duration

func (*RTT) RTTVAR added in v0.0.3

func (r *RTT) RTTVAR() time.Duration

func (*RTT) SRTT added in v0.0.3

func (r *RTT) SRTT() time.Duration

type RingBuffer added in v0.0.3

type RingBuffer[T any] struct {
	// contains filtered or unexported fields
}

func NewRingBuffer added in v0.0.3

func NewRingBuffer[T any](size int) *RingBuffer[T]

func (*RingBuffer[T]) Free added in v0.0.3

func (r *RingBuffer[T]) Free() int

func (*RingBuffer[T]) Len added in v0.0.3

func (r *RingBuffer[T]) Len() int

func (*RingBuffer[T]) Read added in v0.0.3

func (r *RingBuffer[T]) Read(p []T) int

func (*RingBuffer[T]) Reset added in v0.0.3

func (r *RingBuffer[T]) Reset()

func (*RingBuffer[T]) Write added in v0.0.3

func (r *RingBuffer[T]) Write(p []T) (int, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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