client

package
v0.0.0-...-f3e57f9 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// Send bytes for the passed time and return the sent bytes
	SendDuration(duration time.Duration, bufferSize int) (int64, error)
	// Send the passed amount of bytes and measure the time it took
	SendBytes(numBytes int64) (time.Duration, error)
	// Get the type of the connection
	GetType() connection_type.ConnectionType
	// Clean up the connection
	Cleanup() error
}

Client of the QUIC / TCP measurement tool.

func NewClient

func NewClient(options *cli.Options) (Client, error)

Create new client of the passed type which connects to the passed address.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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