mtr

package
v0.0.0-...-34343fe Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package mtr TODO

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoroutineNotPanic

func GoroutineNotPanic(handlers ...func() error) (err error)

GoroutineNotPanic TODO

Types

type MTR

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

	Address string `json:"destination"`

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

MTR TODO

func NewMTR

func NewMTR(addr, srcAddr string, timeout time.Duration, interval time.Duration,
	hopsleep time.Duration, maxHops, maxUnknownHops, ringBufferSize int, ptr bool) (c *MTR, err error)

NewMTR TODO

func (*MTR) Run

func (m *MTR) Run() (err error)

Run TODO

Jump to

Keyboard shortcuts

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