n3t

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialTimeout

func DialTimeout(network, address string, timeout time.Duration) (net.Conn, error)

func EchoServerUDP added in v0.0.9

func EchoServerUDP(ctx context.Context, addr string) (net.Addr, error)

func Listener

func Listener(address string)

func LookupAddr

func LookupAddr(addr string)

func LookupIP

func LookupIP(domain string)

func TcpPing added in v0.0.9

func TcpPing(params PingParams)

Types

type PingParams added in v0.0.9

type PingParams struct {
	Count    int
	Interval time.Duration
	Timeout  time.Duration
	Host     string
}

Jump to

Keyboard shortcuts

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