package
0.0.0-20240605145135-70feac92938f
Repository: https://github.com/getstream/quic-go.git
Documentation: pkg.go.dev
# Functions
HasAckElicitingFrames returns true if at least one frame is ack-eliciting.
IsFrameAckEliciting returns true if the frame is ack-eliciting.
NewAckHandler creates a new SentPacketHandler and a new ReceivedPacketHandler.
# Constants
SendAck means an ACK-only packet should be sent.
SendAny means that any packet should be sent.
SendNone means that no packets should be sent.
SendPacingLimited means that the pacer doesn't allow sending of a packet right now, but will do in a little while.
SendPTOAppData means that an Application data probe packet should be sent.
SendPTOHandshake means that a Handshake probe packet should be sent.
SendPTOInitial means that an Initial probe packet should be sent.
# Interfaces
FrameHandler handles the acknowledgement and the loss of a frame.
ReceivedPacketHandler handles ACKs needed to send for incoming packets.
SentPacketHandler handles ACKs received for outgoing packets.
# Type aliases
The SendMode says what kind of packets can be sent.