protocols

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DNSPing

func DNSPing(host string) time.Duration

DNSPing set timeout for DNS request

func HTTPPing

func HTTPPing(target string, sslEnable bool) time.Duration

HTTPPing measures latency for HTTP request

func ICMPPing

func ICMPPing(host string) time.Duration

ICMPPing implements basic ping

func TCPPing

func TCPPing(host string, tcpPort int) time.Duration

TCPPing measures time for openning connection to TCP port

func UseCustomDNS

func UseCustomDNS(dns []string)

UseCustomDNS set custom DNS resolver

Types

This section is empty.

Jump to

Keyboard shortcuts

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