Versions in this module Expand all Collapse all v0 v0.39.2 Nov 10, 2023 v0.39.1 Nov 10, 2023 Changes in this version + const ECNCE + const ECNUnsupported + const ECT0 + const ECT1 + const ECTNot + const StreamTypeBidi + const StreamTypeUni + type AckFrame = wire.AckFrame + type AckRange = wire.AckRange + type ApplicationError = qerr.TransportErrorCode + type ArbitraryLenConnectionID = protocol.ArbitraryLenConnectionID + type ByteCount = protocol.ByteCount + type CongestionState uint8 + const CongestionStateApplicationLimited + const CongestionStateCongestionAvoidance + const CongestionStateRecovery + const CongestionStateSlowStart + type ConnectionCloseFrame = wire.ConnectionCloseFrame + type ConnectionID = protocol.ConnectionID + type ConnectionTracer struct + AcknowledgedPacket func(EncryptionLevel, PacketNumber) + BufferedPacket func(PacketType, ByteCount) + Close func() + ClosedConnection func(error) + Debug func(name, msg string) + DroppedEncryptionLevel func(EncryptionLevel) + DroppedKey func(generation KeyPhase) + DroppedPacket func(PacketType, ByteCount, PacketDropReason) + ECNStateUpdated func(state ECNState, trigger ECNStateTrigger) + LossTimerCanceled func() + LossTimerExpired func(TimerType, EncryptionLevel) + LostPacket func(EncryptionLevel, PacketNumber, PacketLossReason) + NegotiatedVersion func(chosen VersionNumber, clientVersions, serverVersions []VersionNumber) + ReceivedLongHeaderPacket func(*ExtendedHeader, ByteCount, ECN, []Frame) + ReceivedRetry func(*Header) + ReceivedShortHeaderPacket func(*ShortHeader, ByteCount, ECN, []Frame) + ReceivedTransportParameters func(*TransportParameters) + ReceivedVersionNegotiationPacket func(dest, src ArbitraryLenConnectionID, _ []VersionNumber) + RestoredTransportParameters func(parameters *TransportParameters) + SentLongHeaderPacket func(*ExtendedHeader, ByteCount, ECN, *AckFrame, []Frame) + SentShortHeaderPacket func(*ShortHeader, ByteCount, ECN, *AckFrame, []Frame) + SentTransportParameters func(*TransportParameters) + SetLossTimer func(TimerType, EncryptionLevel, time.Time) + StartedConnection func(local, remote net.Addr, srcConnID, destConnID ConnectionID) + UpdatedCongestionState func(CongestionState) + UpdatedKey func(generation KeyPhase, remote bool) + UpdatedKeyFromTLS func(EncryptionLevel, Perspective) + UpdatedMetrics func(rttStats *RTTStats, cwnd, bytesInFlight ByteCount, packetsInFlight int) + UpdatedPTOCount func(value uint32) + func NewMultiplexedConnectionTracer(tracers ...*ConnectionTracer) *ConnectionTracer + type CryptoFrame struct + Length ByteCount + Offset ByteCount + type DataBlockedFrame = wire.DataBlockedFrame + type DatagramFrame struct + Length ByteCount + type ECN = protocol.ECN + type ECNState uint8 + const ECNStateCapable + const ECNStateFailed + const ECNStateTesting + const ECNStateUnknown + type ECNStateTrigger uint8 + const ECNFailedDecreasedECNCounts + const ECNFailedLostAllTestingPackets + const ECNFailedManglingDetected + const ECNFailedMoreECNCountsThanSent + const ECNFailedNoECNCounts + const ECNFailedTooFewECNCounts + const ECNTriggerNoTrigger + type EncryptionLevel = protocol.EncryptionLevel + const Encryption0RTT + const Encryption1RTT + const EncryptionHandshake + const EncryptionInitial + type ExtendedHeader = wire.ExtendedHeader + type Frame interface + type HandshakeDoneFrame = wire.HandshakeDoneFrame + type Header = wire.Header + type KeyPhase = protocol.KeyPhase + type KeyPhaseBit = protocol.KeyPhaseBit + const KeyPhaseOne + const KeyPhaseZero + type MaxDataFrame = wire.MaxDataFrame + type MaxStreamDataFrame = wire.MaxStreamDataFrame + type MaxStreamsFrame = wire.MaxStreamsFrame + type NewConnectionIDFrame = wire.NewConnectionIDFrame + type NewTokenFrame = wire.NewTokenFrame + type PacketDropReason uint8 + const PacketDropDOSPrevention + const PacketDropDuplicate + const PacketDropHeaderParseError + const PacketDropKeyUnavailable + const PacketDropPayloadDecryptError + const PacketDropProtocolViolation + const PacketDropUnexpectedPacket + const PacketDropUnexpectedSourceConnectionID + const PacketDropUnexpectedVersion + const PacketDropUnknownConnectionID + const PacketDropUnsupportedVersion + type PacketLossReason uint8 + const PacketLossReorderingThreshold + const PacketLossTimeThreshold + type PacketNumber = protocol.PacketNumber + type PacketType uint8 + const PacketType0RTT + const PacketType1RTT + const PacketTypeHandshake + const PacketTypeInitial + const PacketTypeNotDetermined + const PacketTypeRetry + const PacketTypeStatelessReset + const PacketTypeVersionNegotiation + func PacketTypeFromHeader(hdr *Header) PacketType + type PathChallengeFrame = wire.PathChallengeFrame + type PathResponseFrame = wire.PathResponseFrame + type Perspective = protocol.Perspective + const PerspectiveClient + const PerspectiveServer + type PingFrame = wire.PingFrame + type PreferredAddress = wire.PreferredAddress + type RTTStats = utils.RTTStats + type ResetStreamFrame = wire.ResetStreamFrame + type RetireConnectionIDFrame = wire.RetireConnectionIDFrame + type ShortHeader struct + DestConnectionID ConnectionID + KeyPhase KeyPhaseBit + PacketNumber PacketNumber + PacketNumberLen protocol.PacketNumberLen + type StatelessResetToken = protocol.StatelessResetToken + type StopSendingFrame = wire.StopSendingFrame + type StreamDataBlockedFrame = wire.StreamDataBlockedFrame + type StreamFrame struct + Fin bool + Length ByteCount + Offset ByteCount + StreamID StreamID + type StreamID = protocol.StreamID + type StreamNum = protocol.StreamNum + type StreamType = protocol.StreamType + type StreamsBlockedFrame = wire.StreamsBlockedFrame + type TimeoutReason uint8 + const TimeoutReasonHandshake + const TimeoutReasonIdle + type TimerType uint8 + const TimerTypeACK + const TimerTypePTO + type Tracer struct + DroppedPacket func(net.Addr, PacketType, ByteCount, PacketDropReason) + SentPacket func(net.Addr, *Header, ByteCount, []Frame) + SentVersionNegotiationPacket func(_ net.Addr, dest, src ArbitraryLenConnectionID, _ []VersionNumber) + func NewMultiplexedTracer(tracers ...*Tracer) *Tracer + type TransportError = qerr.TransportErrorCode + type TransportParameters = wire.TransportParameters + type VersionNumber = protocol.VersionNumber