network

package
v0.0.0-...-3b0d57d Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFreePort

func GetFreePort() (int, error)

func GetRouterExternalIP

func GetRouterExternalIP() (routerIP *net.IPAddr, err error)

func GetRouterExternalIPIpify

func GetRouterExternalIPIpify() (publicIP *net.IPAddr, err error)

func GetRouterExternalIPUPNP

func GetRouterExternalIPUPNP() (publicIP *net.IPAddr, err error)

func GetRouterInternalIP

func GetRouterInternalIP() (routerIP *net.IPAddr, err error)

func SetRouterInternalIP

func SetRouterInternalIP(ip *net.IPAddr)

func SetRouterInternalName

func SetRouterInternalName(name string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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