Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Connect ¶
Connect opens the build-log-streamer WebSocket. When jwt is non-empty it is offered via Sec-WebSocket-Protocol as `bearer.<jwt>` (alongside wsSubprotocol, which the server echoes back) so the server can authorize the stream. The browser WebSocket API can't set custom request headers, so the dashboard carries the JWT the same way; using the subprotocol here keeps the State Tool and dashboard clients symmetric.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.