netutil

package
v0.0.41 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LocalIPs

func LocalIPs() ([]net.IP, error)

func LocalOutboundIPs added in v0.0.8

func LocalOutboundIPs() ([]net.IP, error)

func RouteGetSourceAddress

func RouteGetSourceAddress(dest string) (string, error)

RouteGetSourceAddress retrieves the source IP address used to reach the destination.

Types

This section is empty.

Jump to

Keyboard shortcuts

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