{"modulePath":"github.com/Tuhis/gawk/gawk-server","version":"v0.44.0","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/Tuhis/gawk/gawk-server/adminapi","name":"adminapi","synopsis":"Package adminapi is the wire contract of the relay's R39 admin API (docs/42 §4.5): the response types GET /internal/admin/broadcasts serves and gawk-admin's relayscan parses.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-camsim","name":"main","synopsis":"Command gawk-camsim is a room participant that watches a camera and does not behave (R89 CM8, docs/93 D22, §5.2 steps 5 and 6).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-devcert","name":"main","synopsis":"gawk-devcert generates a self-signed development certificate that Chromium accepts for WebTransport (ECDSA P-256, ≤ 14 days), writes it as a PEM pair and prints the hashes and ready-to-paste snippets needed to connect to it from a browser.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-echo","name":"main","synopsis":"gawk-echo is a CLI connectivity probe: it dials a running gawk-server's /echo endpoint over WebTransport, round-trips a datagram and prints the round-trip time.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-loadgen","name":"main","synopsis":"gawk-loadgen is the R17 W6 scale-proof tool: N synthetic viewers against one broadcast, counting what a real viewer would care about — complete frames, keyframe streams, frameID gaps (upstream loss/reorder visible at the subscriber), and bytes — aggregated across all sessions and reported periodically.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-pubsim","name":"main","synopsis":"Command gawk-pubsim publishes the committed H.264 test fixture to a gawk relay in a loop — a deterministic synthetic broadcaster (R20, docs/25 Decision 3).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-relay","name":"main","synopsis":"gawk-relay is the standalone LAN relay (R74, docs/76 §6.1): the same relay as gawk-server, with LAN-shaped defaults, a state directory and a rolling pinned certificate, so a party host can start it with no flags at all.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-relay/webapp","name":"webapp","synopsis":"Package webapp is the gawk-app build that gawk-relay serves to the host's own machine at http://127.0.0.1:4480/app/ (docs/76 §6.1 item 6) and, on the named tier, over HTTPS on -ui-addr (§6.11 item 39).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-roomsim","name":"main","synopsis":"Command gawk-roomsim is a synthetic room participant (R42 RM3, docs/44 §4.5): it dials CONNECT /room/{code} (or mints a room from a live broadcast with -mint), sends RoomHello on the one control stream, and prints every RoomState and RoomEvent it receives as one JSON line each on stdout — so a shell harness can assert on the roster, the attachments and the room's HMAC'd key with jq, the way gawk-loadgen lets it assert on close codes.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-server","name":"main","synopsis":"gawk-server is the WebTransport relay for the gawk game stream: one publisher fans out encoded video datagrams to a small set of subscribers.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/cmd/gawk-uplinklab","name":"main","synopsis":"Command gawk-uplinklab measures the broadcaster → relay leg (docs/75): a receiver built on the relay's own QUIC stack and configuration, and a deterministic UDP impairment proxy to put in front of it.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/events","name":"events","synopsis":"Package events is the event contract of a gawk deployment (R51, docs/52).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/broadcastid","name":"broadcastid","synopsis":"","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/clientinfo","name":"clientinfo","synopsis":"Package clientinfo turns the client-identity dial parameters (R59, docs/61 D1) into metric label values from a closed vocabulary.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/cluster","name":"cluster","synopsis":"Package cluster implements the per-broadcast origin registry (R17 W3, docs/22 Decision 8): one Kubernetes Lease per broadcast, named gawk-bc-\u003cid\u003e, holder = pod name, annotations carrying the origin's dialable pod address and an originGeneration counter bumped on every claim.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/config","name":"config","synopsis":"Package config holds the server configuration and its flag/env parsing.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/eventbus","name":"eventbus","synopsis":"Package eventbus publishes relay lifecycle events to an operator-provided NATS JetStream (R50, docs/51).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/hub","name":"hub","synopsis":"Package hub implements the relay's pub/sub core: a registry of broadcast sessions, where each broadcast has a publisher fanning encoded video out to a small set of subscribers.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/lanaddr","name":"lanaddr","synopsis":"Package lanaddr finds the address a LAN relay advertises (R74 PP2, docs/76 §6.1 item 4): the IPv4 address of the interface that holds the default route, with loopback, link-local, container and virtual bridges, VPN tunnels and every non-private address (CGNAT and public ones included) excluded.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/mediaprobe","name":"mediaprobe","synopsis":"Package mediaprobe reads a broadcast's codec family and coded resolution out of the media the relay already carries (R59, docs/61 D2): the codec string of a DecoderConfig, the SPS of an H.264 stream (AVCC extradata or an in-band Annex B NAL), and the keyframe headers of VP8 and VP9.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/metrics","name":"metrics","synopsis":"Package metrics owns everything Prometheus (R9, docs/13): the base registry (runtime collectors + build info), the hub registry collector, and the transport-layer connection counters.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/moderationsrc","name":"moderationsrc","synopsis":"Package moderationsrc feeds a moderation.Set from the configured ban source (R39 AP2, docs/42 §4.3): a Kubernetes informer on Ban CRs, a JSON file, or nothing at all.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/ops","name":"ops","synopsis":"Package ops serves the plain-TCP HTTP operations endpoint (R9 M1, docs/13): /metrics (Prometheus), /healthz, and /statusz.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/popclient","name":"popclient","synopsis":"Package popclient is the PoP side of R74 PoP relays (docs/76): pairing with a home fleet, holding the link, and forwarding broadcasts between the party LAN and home.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/poplink","name":"poplink","synopsis":"Package poplink is the R74 home↔PoP link protocol (docs/76): length-prefixed JSON records exchanged between a PoP relay and its home fleet over the link session.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/popsrc","name":"popsrc","synopsis":"Package popsrc feeds R74 Pop definitions (docs/76 §9) to the home side: the Pop CRs through an informer in cluster mode (StartK8s), or a -pops-file of pops.FilePop entries elsewhere (StartFile).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/popsrv","name":"popsrv","synopsis":"Package popsrv is the home side of R74 PoP relays (docs/76): pairing, link authentication, the link lease and the per-PoP subsystems a home fleet runs.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/pubsim","name":"pubsim","synopsis":"Package pubsim is the synthetic fixture publisher behind cmd/gawk-pubsim (R20, docs/25 Decision 3): the committed H.264 fixture demuxed into access units once, then looped through the real engine at a live pace.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/pubsim/fixture","name":"fixture","synopsis":"Package fixture holds the committed H.264 MPEG-TS test stream (see README.md for its provenance and the properties tests depend on).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/pubsim/mpegts","name":"mpegts","synopsis":"Package mpegts is a deliberately minimal MPEG-TS demuxer: enough to recover access-unit boundaries from the GStreamer child's stdout, and nothing more.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/pubsim/opus","name":"opus","synopsis":"Package opus reads the one byte of an Opus packet that describes the packet: its TOC (RFC 6716 §3.1).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/relayconsole","name":"relayconsole","synopsis":"Package relayconsole is gawk-relay's host console (R74 PP3, docs/76 §7.1): a small web page on a loopback-only listener, by default http://127.0.0.1:4480, that shows the host how guests join, what is live, what the party's internet carries and what needs fixing, and takes the pairing string.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/relaystate","name":"relaystate","synopsis":"Package relaystate is gawk-relay's state directory (R74 PP2, docs/76 §6.1): one place, owner-only, for the persisted QUIC/resume/stats keys, the rolling pinned certificate and, once paired, the PoP credential.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/roomcluster","name":"roomcluster","synopsis":"Package roomcluster is the cluster-mode half of rooms (R42, docs/44 §4.3, §4.5, RM3): the Room custom resource as the fleet's shared truth, and the home-pod lease on its status with the R17 origin-lease semantics (internal/cluster) — claim, generation CAS, renew, release on drain, force-take on a stale lease, a leaderless janitor.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/roomsrc","name":"roomsrc","synopsis":"Package roomsrc feeds static room definitions into the room registry (R42, docs/44 §4.3 \"non-cluster mode\"): a JSON file of rooms.FileRoom entries, reloaded on change and on SIGHUP.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/roomsrv","name":"roomsrv","synopsis":"Package roomsrv is the relay's room registry (R42, docs/44 §4.4–4.7, RM2): the control-plane state a room is made of — attachments, participants, grants, the empty grace, the limits — and the fan-out of RoomState / RoomEvent records to every control session.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/serve","name":"serve","synopsis":"Package serve runs a relay: the hub, the WebTransport server, the rooms, the cluster and moderation wiring and the ops listener.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/tlsutil","name":"tlsutil","synopsis":"Package tlsutil provides the two certificate paths the server supports: ephemeral self-signed dev certificates that Chromium accepts for WebTransport, and file-backed certificates (e.g.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/internal/transport","name":"transport","synopsis":"Edge pull (docs/22): when a viewer lands on a pod that is not a broadcast's origin, the pod subscribes upstream — dialing the origin's pod IP from the Lease, never the Service VIP (which could loop back) — and re-ingests everything into a local edge hub through the ordinary Publisher surface, datagrams and keyframe streams verbatim, so store-and-forward and supersede compose per hop.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/moderation","name":"moderation","synopsis":"Package moderation is the shared vocabulary of R39 enforcement (docs/42): the Ban CRD Go types, target normalization, deterministic CR naming, and the in-memory Set the relay evaluates on the publish hot path.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/oidcauth","name":"oidcauth","synopsis":"Package oidcauth is the one OIDC bearer-token verifier in this repository (R53, docs/55 D2): the relay's admin API (internal/ops), the moderation portal (gawk-admin) and the telemetry service all verify through it.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/oidcauth/oidcauthtest","name":"oidcauthtest","synopsis":"Package oidcauthtest is the fake OIDC issuer every oidcauth consumer tests against (R53, docs/55 D2): a real HTTP server serving /.well-known/openid-configuration and a JWKS, with locally generated keys that tokens are minted against.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/oidcroles","name":"oidcroles","synopsis":"Package oidcroles resolves the roles claim inside an OIDC token: one implementation of \"which roles does this token carry?\", shared by the relay's ops listener (gawk-server/internal/ops) and the portal (gawk-admin's internal/auth).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/pops","name":"pops","synopsis":"Package pops holds the public R74 Pop resource types (docs/76): the gawk.ioio.fi/v1alpha1 Pop CR, its -pops-file shape, pairing tokens and credentials.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/publisher","name":"publisher","synopsis":"Package publisher publishes encoded media to the relay using the same publisher protocol the browser broadcaster speaks — byte for byte, via the shared gawk-server/wire package.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/rooms","name":"rooms","synopsis":"Package rooms holds the Room custom resource types and the room-code rules shared by the relay and gawk-admin (R42, docs/44 §4.3, RM1).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/screening","name":"screening","synopsis":"Package screening is the contract of R40's automatic content flagging (docs/71 D3): what the relay's keyframe route serves, what gawk-admin's flagger API accepts and answers, and the window rule both the sampler and gawk-admin's replay apply.","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/voice","name":"voice","synopsis":"Package voice is the contract between the relay and gawk-mumble-bridge (R79, docs/80): the voice ticket the relay's home pod mints and the bridge verifies offline (D7), the fleet-stable temporary channel key (D11), and the two internal links that keep the relay the authority over voice (D2): the observer link (relay → bridge) and the session link (bridge → relay).","isRedistributable":true},{"path":"github.com/Tuhis/gawk/gawk-server/wire","name":"wire","synopsis":"Telemetry session tokens (R28 TM1, docs/33 D2 + §4.2).","isRedistributable":true}],"total":49}}
