Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindAddr ¶
FindAddr returns the IPv4 address of the Netbird network interface by scanning all network interfaces for an address in 100.64.0.0/10. In development mode (ENVIRONMENT=development) the scan is skipped and INGRESSIVE_LISTEN_ADDR is returned directly so that local testing works without a real Netbird install. Falls back to the INGRESSIVE_LISTEN_ADDR environment variable if no such interface is found.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.