cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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 Measurement

type Measurement struct {
	Host     string
	Duration durationSlice
}

Measurement struct for storing results

type Measurements

type Measurements []Measurement

Measurements list

func (Measurements) Len

func (m Measurements) Len() int

func (Measurements) Less

func (m Measurements) Less(i, j int) bool

func (Measurements) Swap

func (m Measurements) Swap(i, j int)

Jump to

Keyboard shortcuts

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