pingutil

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: AGPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PingResult

type PingResult struct {
	IP     string
	Ok     bool
	RTT    int64
	Reason string
}

func PingAuto

func PingAuto(ip string, defaultTcpPort string, timeout time.Duration, proxies ...string) *PingResult

func PingNative

func PingNative(ip string, timeout time.Duration) *PingResult

Jump to

Keyboard shortcuts

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