Documentation ¶
Index ¶
- func GetIPFromAddr(addr net.Addr) string
- func GetNetworkFromAddr(addr net.Addr) string
- func GetPortFromAddr(addr net.Addr) int
- func GetPublicIp() (string, error)
- func ParseAddrFromString(network, addr string) (net.Addr, error)
- func SplitIpFromAddr(addr string) string
- func SplitPortFromAddr(addr string) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIPFromAddr ¶
func GetNetworkFromAddr ¶
func GetPortFromAddr ¶
func GetPublicIp ¶
func SplitIpFromAddr ¶
func SplitPortFromAddr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.