traffic

package
v0.0.0-...-99867b7 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bitrate

type Bitrate string

type MilliSecond

type MilliSecond int64

type Param

type Param struct {
	Bitrate          Bitrate
	SendSeconds      Second
	WaitMilliSeconds MilliSecond
}

type Params

type Params []*Param

func (Params) Output

func (ps Params) Output(out string) error

func (Params) OutputCSV

func (ps Params) OutputCSV(f *os.File) error

type Result

type Result struct {
	SendByte   int64
	SendSecond float64
}

type Results

type Results []*Result

func (Results) TotalSendBytes

func (rs Results) TotalSendBytes() int64

func (Results) TotalSendSeconds

func (rs Results) TotalSendSeconds() float64

type Second

type Second int64

Jump to

Keyboard shortcuts

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