sender

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package sender implements the download sender.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(conn *websocket.Conn, src <-chan model.Measurement) <-chan model.Measurement

Start starts the sender in a background goroutine. The sender will send binary messages and measurement messages coming from |src|. Such messages will also be emitted to the returned channel.

Liveness guarantee: the sender will not be stuck sending for more then the DefaultRuntime of the subtest, provided that the consumer will continue reading from the returned channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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