Documentation ¶
Overview ¶
Package upload contains ndt7 upload code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(ctx context.Context, conn websocketx.Conn, ch chan<- spec.Measurement) error
Run runs the upload test. It runs until the ctx is expired or the upload timeout is expired. It uses the provided conn. It emits on the provided channel upload measurements. The returned error is mainly useful for making this function have the same API of download.Run, for which it makes more sense to return an error.
Note that run closes both ch and conn.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.