traceroute

package
v0.0.0-...-beb3263 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracer

type Tracer struct {
	// contains filtered or unexported fields
}

Tracer implements the Traceroute operation.

func NewTracer

func NewTracer(addr string) Tracer

NewTracer returns a new Tracer.

func (Tracer) Hops

func (tr Tracer) Hops() <-chan string

Hops returns a read only channel where hop events will be published.

func (Tracer) Traceroute

func (tr Tracer) Traceroute(maxTTL int)

Traceroute returns a string channel to range over in order to get the trace results

Jump to

Keyboard shortcuts

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