netutils

package
v0.0.0-...-f378178 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExternalIP

func GetExternalIP() (ip gnet.IP, err error)

func GetValidIfaces

func GetValidIfaces() (validIfaces []net.InterfaceStat, err error)

func HostPortToIP

func HostPortToIP(hostPort string) (ip gnet.IP, err error)

func ServerIPForClientHostPort

func ServerIPForClientHostPort(hostPort string) (foundIP string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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