mtr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2019 License: BSD-2-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MTR

type MTR struct {
	SrcAddress string `json:"source"`

	Address string `json:"destination"`

	Statistic map[int]*hop.HopStatistic `json:"statistic"`
	// contains filtered or unexported fields
}

func NewMTR

func NewMTR(addr, srcAddr string, timeout time.Duration, interval time.Duration,
	hopsleep time.Duration, maxHops, maxUnknownHops, ringBufferSize int, ptr bool) (*MTR, chan struct{}, error)

func (*MTR) Render

func (m *MTR) Render(offset int)

func (*MTR) Run

func (m *MTR) Run(ch chan struct{}, count int)

Jump to

Keyboard shortcuts

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