cmd

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const RecvRTTFile = "./recvRTTs.csv"
View Source
const SendRTTFile = "./sendRTTs.csv"
View Source
const StatsFile = "./stats.json"

Variables

View Source
var RTTHeader = [2]string{"size_bytes", "rtt_seconds"}
View Source
var RecordRTTs bool
View Source
var RecordStats bool

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type ClientStats added in v1.0.3

type ClientStats struct {
	TimeSeconds    float64 `json:"TimeSeconds"`
	DroppedPackets int64   `json:"DroppedPackets"`
	DroppedAcks    int64   `json:"DroppedAcks"`
}

Jump to

Keyboard shortcuts

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