Documentation ¶
Overview ¶
Package sender implements the download sender.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start(ctx context.Context, conn *websocket.Conn, data *model.ArchivalData, params *Params) error
Start sends binary messages (bulk download) and measurement messages (status messages) to the client conn. Each measurement message will also be saved to data.
Liveness guarantee: the sender will not be stuck sending for more than the MaxRuntime of the subtest. This is enforced by setting the write deadline to Time.Now() + MaxRuntime.
Types ¶
Click to show internal directories.
Click to hide internal directories.