addrx

package
v0.0.0-...-1db1413 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIPFromAddr

func GetIPFromAddr(addr net.Addr) string

func GetNetworkFromAddr

func GetNetworkFromAddr(addr net.Addr) string

func GetPortFromAddr

func GetPortFromAddr(addr net.Addr) int

func GetPublicIp

func GetPublicIp() (string, error)

func ParseAddrFromString

func ParseAddrFromString(network, addr string) (net.Addr, error)

func SplitIpFromAddr

func SplitIpFromAddr(addr string) string

func SplitPortFromAddr

func SplitPortFromAddr(addr string) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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