latency

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GatherLatencies

func GatherLatencies(urls []string, results chan<- Result, doneC <-chan struct{})

GatherLatencies gets the latency from the urls and returns the result in a channel.

Types

type Result

type Result struct {
	URL     string
	Latency int
}

Jump to

Keyboard shortcuts

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