Documentation
¶
Overview ¶
Package network provides network-related utilities for LocalGo
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatAddress ¶
FormatAddress formats an IP address and port into a URL
func GetInterfaceIPs ¶
GetInterfaceIPs returns all IP addresses for a specific network interface
func GetLocalIP ¶
GetLocalIP returns the primary non-loopback IP address of the machine
func GetLocalIPAddresses ¶
GetLocalIPAddresses returns a list of local IP addresses for all non-loopback interfaces
func GetPreferredOutboundIP ¶
GetPreferredOutboundIP gets the preferred IP address for outbound connections
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.