netx

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IP2Long

func IP2Long(ip net.IP) uint32

IP2Long converts a net.IP to an integer

func Long2IP

func Long2IP(ipInt uint32) net.IP

Long2IP converts an integer to a net.IP

func Probe

func Probe(network string, addr string, tmo time.Duration) error

func ProbeTCP

func ProbeTCP(addr string, tmo time.Duration) error

func ProbeUDP

func ProbeUDP(addr string, tmo time.Duration) error

Types

type Prober

type Prober func(addr string, tmo time.Duration) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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