Documentation
¶
Overview ¶
GOAL_API_KEY=... go run ./examples/live
Connects to the live socket, subscribes to whatever is in play, and reports every frame the server sends. Exits non-zero if nothing arrives, so it works as a smoke test.
Part of the main module: the SDK ships its own WebSocket client, so this needs no dependencies and no go.mod of its own.
Click to show internal directories.
Click to hide internal directories.