gawk-server

module
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: Apache-2.0

README

gawk-server

Coverage

The Go WebTransport relay for gawk. Publishers (a broadcaster's browser or a native broadcaster) send encoded video as QUIC datagrams; the relay fans each broadcast out to its subscribers, caching the latest keyframe and decoder config to prime late joiners. It runs standalone or, in cluster mode, as a self-federating fleet of pods that spreads one hot broadcast's audience across nodes.

Design, wire format and task breakdown: ../docs/implementation-tasks.md; cluster mode: ../docs/22-relay-scale-out.md.

flowchart LR
    P["Publisher"] -- "CONNECT /publish" --> H["hub<br/>(keyframe + config cache)"]
    H --> S1["Subscriber"]
    H --> S2["Subscriber"]
    H -- "CONNECT /internal/subscribe<br/>(cluster mode, PSK-gated)" --> E["edge pod"]
    E --> S3["Subscriber"]

Routes

Route Purpose
CONNECT /publish Start a broadcast; the relay mints a new broadcast ID
CONNECT /publish/{id} Reclaim an existing ID. A token-bearing reclaim supersedes an active publisher session ("newest publisher wins")
CONNECT /subscribe/{id} Watch a broadcast; 429 when full; primed with cached decoder config + last keyframe. ?delivery=reliable opts into resilient carrier-stream delivery; adding &buffer=<ms> upgrades to the DVR ring (clamped to -dvr-window)
CONNECT /internal/subscribe/{id} Cluster-mode edge pull — one pod dialing another's origin hub. PSK-gated, never exposed publicly
CONNECT /echo Connectivity diagnostic (see gawk-echo below)
GET /healthz Liveness
GET /statusz JSON stats: subscribers, frames/datagrams relayed, drops, cached keyframe, per-subscriber detail
CONNECT /pop/link, /pop/addr, /pop/publish/{id}, /pop/subscribe/{id} PoP relays' link and legs (../docs/76 §9). Registered only with -pops; credential-gated

A separate plain-TCP ops endpoint serves GET /metrics (Prometheus), /healthz, /readyz and a mirror of /statusz on -metrics-addr (default :2112) — the main server is HTTP/3-over-UDP only, which Prometheus and plain curl can't reach. Never expose this port publicly; the Helm chart exposes it via a ClusterIP Service + optional ServiceMonitor only. Details: ../docs/13-observability.md.

Two credential-gated surfaces ride the same listener and do not exist at all (404) until their credential is set: the read-only moderation API, /internal/admin/*, for gawk-admin (-admin-api-token or an admin OIDC issuer; ../docs/42 §4.5), and R40's GET /internal/screening/broadcasts/{id}/keyframe for gawk-sampler (-screening-token, a different token by rule; ../docs/71 §9.2). -screening-notice tells every broadcaster the server screens streams. Both are described in docs/flags.md.

Build & test

go build ./...
go vet ./...
go test -race ./...

Run

# Local dev, throwaway (ephemeral in-memory cert; hashes for Chrome are
# logged at startup, and are different on every start):
go run ./cmd/gawk-server -dev-cert

# Local dev, persisted — generate the pair into these paths if absent, load
# them if not. The hash survives restarts, so a join link keeps working:
go run ./cmd/gawk-server -dev-cert -cert-file ../certs/cert.pem -key-file ../certs/key.pem

# Production (cert-manager-provisioned files, reloaded automatically on renewal):
go run ./cmd/gawk-server -cert-file /tls/tls.crt -key-file /tls/tls.key

The middle form is what the dev stack runs and what relay work on the host should use — it presents the same pair the containerised relay does, so the browser side needs no reconfiguration when you switch between the two. Full truth table: ../docs/41 §4.2.1.

Verify connectivity from the CLI (-cert-hash is logged by the server at startup; a real CA-issued cert needs no -cert-hash):

go run ./cmd/gawk-echo -cert-hash <cert_hash_hex>
go run ./cmd/gawk-echo -url https://api.gawk.example:4433/echo -origin https://gawk.example

(The -origin flag matters when the relay runs with -allowed-origins.)

Configuration

Every flag has a GAWK_* environment fallback (flag > env > default). The ones a first install actually touches:

Flag Default Why you'd set it
-addr :4433 Listen address (UDP)
-cert-file / -key-file (empty) TLS cert + key; or -dev-cert for local dev
-allowed-origins allow all Set to your frontend's origin in any real deployment
-publish-secret (empty) Require a secret to publish
-max-subscribers / -max-broadcasts / -max-total-subscribers 15 / 5 / 50 Capacity limits
-keepalive-period 10s Keeps idle viewers connected while the broadcaster is away — this, not -max-idle-timeout, is the knob
-broadcast-grace / -publisher-stall-timeout 5m / 90s How long an absent publisher keeps its ID; how long a connected one may send no datagram at all before it reads as away (0 disables). -publisher-stall-ends (default off) additionally ends a broadcast stalled for the grace
-metrics-addr :2112 Ops endpoint; the literal value off disables
-cluster-mode false Multi-pod federation; requires -internal-psk and -internal-server-name
-eventbus-url (empty) Publish lifecycle events to a NATS JetStream (R50). Off by default; the media path never waits for it

The full table — including DVR, forward parity, telemetry and cluster keys — with notes on the non-obvious ones: docs/flags.md.

On SIGINT/SIGTERM the server drains before exiting: every open session gets close code 4002 (clients reconnect immediately), cluster mode releases this pod's Leases, and the process exits within ~1.5 s.

cmd/gawk-loadgen is the synthetic-viewer load tool: N subscribe sessions against one broadcast, reporting frames/s, keyframes, frameID gaps and aggregate bitrate:

go run ./cmd/gawk-loadgen -url https://api.gawk.example:4433 -id K7XQ2M -viewers 200 -duration 60s

cmd/gawk-pubsim is the synthetic publisher: it loops a committed H.264 and Opus fixture through a real publisher engine (internal/pubsim), so the dev stack's sim and rooms profiles, the e2e and e2e-cluster CI tiers and the iOS viewer tests need no GPU. It prints the minted code as GAWK_PUBSIM_ID=<code> on stdout, and its package comment lists the rest. It dials with Origin gawk-broadcast://native. The engine is what remains of the Go Linux broadcaster, removed in R56 LX9 (docs/58 D15). -fixture magenta publishes the R40 screening clip — 45 s of solid magenta, then 45 s of solid grey, looped — which the screening test model flags and then clears (see internal/pubsim/fixture/README.md).

CGO_ENABLED=0 go run ./cmd/gawk-pubsim -url https://127.0.0.1:4433 -insecure -duration 60s

gawk-relay

cmd/gawk-relay is the PoP relay a host runs on a LAN (../docs/76): the same relay body as gawk-server (internal/serve), LAN-shaped defaults, a loopback console on 127.0.0.1:4480 and the web app embedded. It starts with no flags.

./cmd/gawk-relay/webapp/stage.sh          # build gawk-app and stage it for the embed
CGO_ENABLED=0 go build ./cmd/gawk-relay
./gawk-relay                              # console: http://127.0.0.1:4480

Without stage.sh the binary embeds a placeholder page instead of the app; release builds run the webapp package's test with GAWK_RELAY_REQUIRE_APP=1, which fails on the placeholder. The image builds from the repo root:

docker build -f gawk-server/deploy/Dockerfile.relay -t gawk-relay:dev .    # from the repo root
docker run -d --network host -v gawk-relay:/data gawk-relay:dev

Use host networking (LAN detection would otherwise find the bridge address, and the console is loopback-only) and keep /data, or each restart mints new keys and certificate hashes. Its own flags: docs/flags.md.

Docker

docker build -f deploy/Dockerfile -t gawk-server:dev .
docker run --rm -d --name gawk -p 4433:4433/udp gawk-server:dev -dev-cert
docker logs gawk 2>&1 | grep cert_hash_hex   # → hash for gawk-echo / the app

Distroless static, non-root, ~16 MB. gawk-echo is included in the image: the server is HTTP/3-only, so the Helm chart's k8s probes exec it against localhost, and it doubles as an in-container diagnostic. There is no shell in the image — anything exec'd must be a binary path in exec-form.

Deploy (Helm)

The chart lives in deploy/charts/gawk-server/ and is published to oci://ghcr.io/tuhis/charts/gawk-server, versioned in lockstep with the image (chart version == appVersion == image tag).

helm upgrade --install gawk-server oci://ghcr.io/tuhis/charts/gawk-server \
  --version <X.Y.Z> -n gawk -f my-values.yaml

Values that must be set per install: certificate.dnsNames and config.allowedOrigins (the frontend's origin) — see the comments in deploy/charts/gawk-server/values.yaml. (imagePullSecrets is only needed if you mirror the images to a private registry; the published ones are public.) Full runbook: ../docs/05-resilience-deploy.md.

replicas defaults to 1; the chart refuses replicas > 1 unless config.clusterMode: true — without it the hub is an in-memory single-pod pub/sub and overlapping pods would split the publisher from its subscribers. The Deployment strategy is RollingUpdate (maxSurge: 1, maxUnavailable: 0): pods drain one at a time with a Ready replacement already up before the old one exits, even at replicas: 1.

Directories

Path 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.
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.
cmd
gawk-devcert command
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.
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.
gawk-echo command
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.
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.
gawk-loadgen command
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.
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.
gawk-pubsim command
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).
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).
gawk-relay command
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.
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.
gawk-relay/webapp
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).
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).
gawk-roomsim command
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.
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.
gawk-server command
gawk-server is the WebTransport relay for the gawk game stream: one publisher fans out encoded video datagrams to a small set of subscribers.
gawk-server is the WebTransport relay for the gawk game stream: one publisher fans out encoded video datagrams to a small set of subscribers.
gawk-uplinklab command
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.
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.
Package events is the event contract of a gawk deployment (R51, docs/52).
Package events is the event contract of a gawk deployment (R51, docs/52).
internal
clientinfo
Package clientinfo turns the client-identity dial parameters (R59, docs/61 D1) into metric label values from a closed vocabulary.
Package clientinfo turns the client-identity dial parameters (R59, docs/61 D1) into metric label values from a closed vocabulary.
cluster
Package cluster implements the per-broadcast origin registry (R17 W3, docs/22 Decision 8): one Kubernetes Lease per broadcast, named gawk-bc-<id>, holder = pod name, annotations carrying the origin's dialable pod address and an originGeneration counter bumped on every claim.
Package cluster implements the per-broadcast origin registry (R17 W3, docs/22 Decision 8): one Kubernetes Lease per broadcast, named gawk-bc-<id>, holder = pod name, annotations carrying the origin's dialable pod address and an originGeneration counter bumped on every claim.
config
Package config holds the server configuration and its flag/env parsing.
Package config holds the server configuration and its flag/env parsing.
eventbus
Package eventbus publishes relay lifecycle events to an operator-provided NATS JetStream (R50, docs/51).
Package eventbus publishes relay lifecycle events to an operator-provided NATS JetStream (R50, docs/51).
hub
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.
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.
lanaddr
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.
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.
mediaprobe
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.
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.
metrics
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.
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.
moderationsrc
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.
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.
ops
Package ops serves the plain-TCP HTTP operations endpoint (R9 M1, docs/13): /metrics (Prometheus), /healthz, and /statusz.
Package ops serves the plain-TCP HTTP operations endpoint (R9 M1, docs/13): /metrics (Prometheus), /healthz, and /statusz.
popclient
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.
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.
poplink
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.
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.
popsrc
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).
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).
popsrv
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.
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.
pubsim
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.
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.
pubsim/engine
Package engine 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.
Package engine 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.
pubsim/fixture
Package fixture holds the committed H.264 MPEG-TS test stream (see README.md for its provenance and the properties tests depend on).
Package fixture holds the committed H.264 MPEG-TS test stream (see README.md for its provenance and the properties tests depend on).
pubsim/mpegts
Package mpegts is a deliberately minimal MPEG-TS demuxer: enough to recover access-unit boundaries from the GStreamer child's stdout, and nothing more.
Package mpegts is a deliberately minimal MPEG-TS demuxer: enough to recover access-unit boundaries from the GStreamer child's stdout, and nothing more.
pubsim/opus
Package opus reads the one byte of an Opus packet that describes the packet: its TOC (RFC 6716 §3.1).
Package opus reads the one byte of an Opus packet that describes the packet: its TOC (RFC 6716 §3.1).
relayconsole
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.
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.
relaystate
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.
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.
roomcluster
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.
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.
roomsrc
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.
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.
roomsrv
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.
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.
serve
Package serve runs a relay: the hub, the WebTransport server, the rooms, the cluster and moderation wiring and the ops listener.
Package serve runs a relay: the hub, the WebTransport server, the rooms, the cluster and moderation wiring and the ops listener.
tlsutil
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.
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.
transport
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.
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.
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.
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.
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.
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.
oidcauthtest
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.
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.
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).
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).
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.
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.
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).
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).
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.
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.
Telemetry session tokens (R28 TM1, docs/33 D2 + §4.2).
Telemetry session tokens (R28 TM1, docs/33 D2 + §4.2).

Jump to

Keyboard shortcuts

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