Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IPFilter ¶
IPFilter is function used by Sorted to filters out IP address during the latency test
func ExcludePrefix ¶
ExcludePrefix is a IPFilter function that filters IPs that start with prefix
type Sorter ¶
type Sorter struct {
// contains filtered or unexported fields
}
Sorter lets you get the latency from a list of endpoint and return an ascending sorted list of endpoint
Click to show internal directories.
Click to hide internal directories.