package
1.9.5
Repository: https://github.com/performline/go-stockutil.git
Documentation: pkg.go.dev

# Functions

Retrieves the first routable IP address on any interface that falls inside of the system's default gateway network.
Like DefaultAddress, but specifically filters on IPv6 addresses.
Retrieves the default gateway interface.
Retrieve an open ephemeral port.
Takes an address in the form of "host:port", looks for port zero (e.g: ":0"), and gets an ephemeral local port and returns that address (e.g.: ":41327").
Return the current machine's Fully-qualified domain name,.
Returns all addresses on the given interface that can route to the given gateway.
Returns the first routable address on the given interface.
IsMulticastCapable reports whether ifi is an IP multicast-capable network interface.
Returns true when the given address is unicast routable beyond the current machine.
Send a single ICMP ECHO request packet to the given address on the given interface and wait for up to timeout for a reply.
Return a list of routable IP addresses, along with their associated gateways and interfaces.
RoutedInterface returns a network interface that can route IP traffic and satisfies flags.
Like WaitForPing, but will identify the default gateway and ping that address.
Like WaitForGatewayPing, but specifically pings an IPv6 gateway.
Periodically attempts to open a TCP socket to the given address, up to totaltime.
Periodically attempts to send an ICMP ECHO request (a "ping") to the given IP address, up to totaltime.
Perform Multicast DNS discovery on the local network, calling the fn callback for each discovered service.
Register the given service in Multicast DNS.
Unregister a previously-registered service.
Unregister all Multicast DNS services.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author