Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesIPExistLocally ¶ added in v0.18.6
DoesIPExistLocally - checks if the IP address exists on a local interface
func GetHostNatInfo ¶ added in v0.18.6
func GetHostNatInfo(stunList []nmmodels.StunServer, currentPublicIP string, stunPort int) (info *models.HostInfo)
GetHostNatInfo - calls stun server for udp hole punch and fetches host info
func IsPublicIP ¶ added in v0.18.6
IsPublicIP indicates whether IP is public or not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.