qlog

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const EventSchema = "urn:ietf:params:qlog:events:http3-12"

Variables

This section is empty.

Functions

func DefaultConnectionTracer

func DefaultConnectionTracer(ctx context.Context, isClient bool, connID quic.ConnectionID) qlogwriter.Trace

Types

type CancelPushFrame

type CancelPushFrame struct{}

A CancelPushFrame is a CANCEL_PUSH frame

type DataFrame

type DataFrame struct{}

A DataFrame is a DATA frame

type DatagramCreated

type DatagramCreated struct {
	QuarterStreamID uint64
	Raw             RawInfo
}

func (DatagramCreated) Encode

func (e DatagramCreated) Encode(enc *jsontext.Encoder, _ time.Time) error

func (DatagramCreated) Name

func (e DatagramCreated) Name() string

type DatagramParsed

type DatagramParsed struct {
	QuarterStreamID uint64
	Raw             RawInfo
}

func (DatagramParsed) Encode

func (e DatagramParsed) Encode(enc *jsontext.Encoder, _ time.Time) error

func (DatagramParsed) Name

func (e DatagramParsed) Name() string

type Frame

type Frame struct {
	Frame any
}

Frame represents an HTTP/3 frame.

type FrameCreated

type FrameCreated struct {
	StreamID quic.StreamID
	Raw      RawInfo
	Frame    Frame
}

func (FrameCreated) Encode

func (e FrameCreated) Encode(enc *jsontext.Encoder, _ time.Time) error

func (FrameCreated) Name

func (e FrameCreated) Name() string

type FrameParsed

type FrameParsed struct {
	StreamID quic.StreamID
	Raw      RawInfo
	Frame    Frame
}

func (FrameParsed) Encode

func (e FrameParsed) Encode(enc *jsontext.Encoder, _ time.Time) error

func (FrameParsed) Name

func (e FrameParsed) Name() string

type GoAwayFrame

type GoAwayFrame struct {
	StreamID quic.StreamID
}

A GoAwayFrame is a GOAWAY frame

type HeaderField

type HeaderField struct {
	Name  string
	Value string
}

type HeadersFrame

type HeadersFrame struct {
	HeaderFields []HeaderField
}

A HeadersFrame is a HEADERS frame

type MaxPushIDFrame

type MaxPushIDFrame struct{}

A MaxPushIDFrame is a MAX_PUSH_ID frame

type PushPromiseFrame

type PushPromiseFrame struct{}

A PushPromiseFrame is a PUSH_PROMISE frame

type RawInfo

type RawInfo struct {
	Length        int // full packet length, including header and AEAD authentication tag
	PayloadLength int // length of the packet payload, excluding AEAD tag
}

func (RawInfo) HasValues

func (i RawInfo) HasValues() bool

type ReservedFrame

type ReservedFrame struct {
	Type uint64
}

A ReservedFrame is one of the reserved frame types

type SettingsFrame

type SettingsFrame struct {
	MaxFieldSectionSize int64
	Datagram            *bool
	ExtendedConnect     *bool
	Other               map[uint64]uint64
}

type UnknownFrame

type UnknownFrame struct {
	Type uint64
}

An UnknownFrame is an unknown frame type

Jump to

Keyboard shortcuts

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