upload

package
v0.0.0-...-8b851a9 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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