pkg/

directory
v0.0.0-...-e37c033 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2026 License: Apache-2.0, MIT

Directories

Path Synopsis
Package moqt is the umbrella for MoQT protocol primitives, error codes, and session machinery used by the relay.
Package moqt is the umbrella for MoQT protocol primitives, error codes, and session machinery used by the relay.
loc
Package loc implements the Low Overhead Media Container described by draft-ietf-moq-loc-04.
Package loc implements the Low Overhead Media Container described by draft-ietf-moq-loc-04.
message
Package message implements MoQT control- and request-stream message types per draft-ietf-moq-transport-19.
Package message implements MoQT control- and request-stream message types per draft-ietf-moq-transport-19.
msf
Package msf implements the MOQT Streaming Format described by draft-ietf-moq-msf-01: catalog encode/decode, delta updates, group ID numbering (§6.1), and the Media Timeline (§7) and Event Timeline (§8) tracks.
Package msf implements the MOQT Streaming Format described by draft-ietf-moq-msf-01: catalog encode/decode, delta updates, group ID numbering (§6.1), and the Media Timeline (§7) and Event Timeline (§8) tracks.
session
Package session implements the MoQT session layer: SETUP handshake, control stream multiplexing, request-ID allocation, and graceful termination via GOAWAY (§3.3, §3.5, §10.3, §10.4 of draft-ietf-moq-transport-19).
Package session implements the MoQT session layer: SETUP handshake, control stream multiplexing, request-ID allocation, and graceful termination via GOAWAY (§3.3, §3.5, §10.3, §10.4 of draft-ietf-moq-transport-19).
session/internal/conntest
Package conntest holds transport-test helpers shared between the quicconn and wtconn adapter test packages.
Package conntest holds transport-test helpers shared between the quicconn and wtconn adapter test packages.
session/quicconn
Package quicconn adapts github.com/quic-go/quic-go's *quic.Conn to the transport-neutral session.Conn interface.
Package quicconn adapts github.com/quic-go/quic-go's *quic.Conn to the transport-neutral session.Conn interface.
session/sessiontest
Package sessiontest provides in-process helpers for testing MoQT session code without a real QUIC transport.
Package sessiontest provides in-process helpers for testing MoQT session code without a real QUIC transport.
session/wtconn
Package wtconn adapts github.com/quic-go/webtransport-go's *webtransport.Session to the transport-neutral session.Conn interface.
Package wtconn adapts github.com/quic-go/webtransport-go's *webtransport.Session to the transport-neutral session.Conn interface.
track
Package track provides domain types for MoQT track identification per §2.4.1 of draft-ietf-moq-transport: Full Track Name and a comparable Key derived from it for use as a Go map key.
Package track provides domain types for MoQT track identification per §2.4.1 of draft-ietf-moq-transport: Full Track Name and a comparable Key derived from it for use as a Go map key.
uri
Package uri parses and validates "moqt" URIs and their fragment identifiers as defined by draft-ietf-moq-transport-19 §3.1.1 and §3.1.2.
Package uri parses and validates "moqt" URIs and their fragment identifiers as defined by draft-ietf-moq-transport-19 §3.1.1 and §3.1.2.
wire
Package wire implements MoQT wire-format primitives per draft-ietf-moq-transport-19: variable-length integers (§1.4.1, RFC 9000 §16), reason phrases (§1.4.4), track namespaces (§2.4.1), key-value pairs used in SETUP options (§1.4.3, §10.3.1), and control-message framing (§10).
Package wire implements MoQT wire-format primitives per draft-ietf-moq-transport-19: variable-length integers (§1.4.1, RFC 9000 §16), reason phrases (§1.4.4), track namespaces (§2.4.1), key-value pairs used in SETUP options (§1.4.3, §10.3.1), and control-message framing (§10).
Package relay implements an MOQT relay (§9 of draft-ietf-moq-transport-19): an entity that is both a Publisher and a Subscriber, terminates Transport Sessions, caches Objects, aggregates subscriptions, and forwards data between upstream publishers and downstream subscribers.
Package relay implements an MOQT relay (§9 of draft-ietf-moq-transport-19): an entity that is both a Publisher and a Subscriber, terminates Transport Sessions, caches Objects, aggregates subscriptions, and forwards data between upstream publishers and downstream subscribers.
cache
Package cache holds the relay's per-track Object Cache (§9.4 fetch support).
Package cache holds the relay's per-track Object Cache (§9.4 fetch support).
discovery
Package discovery is the relay's cross-instance track + namespace advertisement abstraction.
Package discovery is the relay's cross-instance track + namespace advertisement abstraction.
internal/registry
Package registry holds the relay's process-wide shared state: the track registry (object routing + per-track cache), the namespace registry (PUBLISH_NAMESPACE / SUBSCRIBE_NAMESPACE bookkeeping), the fetch router (rendezvous for upstream FETCH response streams), and the subscription state machine (UpstreamSub / DownstreamSub).
Package registry holds the relay's process-wide shared state: the track registry (object routing + per-track cache), the namespace registry (PUBLISH_NAMESPACE / SUBSCRIBE_NAMESPACE bookkeeping), the fetch router (rendezvous for upstream FETCH response streams), and the subscription state machine (UpstreamSub / DownstreamSub).
internal/relaytest
Package relaytest holds helpers shared across the relay tests (the relay_test and registry_test packages).
Package relaytest holds helpers shared across the relay tests (the relay_test and registry_test packages).
relaynet
Package relaynet holds the QUIC + TLS plumbing shared by the relay command binaries: self-signed dev certificates, the relay's QUIC tuning, and the listener/dialer constructors that bridge quic-go to the transport-agnostic session.Conn the relay operates on.
Package relaynet holds the QUIC + TLS plumbing shared by the relay command binaries: self-signed dev certificates, the relay's QUIC tuning, and the listener/dialer constructors that bridge quic-go to the transport-agnostic session.Conn the relay operates on.

Jump to

Keyboard shortcuts

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