Documentation ¶
Index ¶
- func BaseUrl(rawurl string) (addr string, err error)
- func DialIP(network, address string, timeout time.Duration) (net.IP, error)
- func ListenIP() (net.IP, error)
- func LocalIPAddrByTcp(addr string) (string, error)
- func LocalIPAddrByUDPMulticast() (string, error)
- func ServeIP(networks, addresses []string, timeout time.Duration) (net.IP, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenIP ¶ added in v0.0.10
ListenIP returns the IP to bind to in Listen. It tries to find an IP that can be used by other machines to reach this machine.
func LocalIPAddrByTcp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.