Documentation ¶
Index ¶
- func ConvertAddr(addr string) (r string, err error)
- func ConvertToZeroIP(addr string) string
- func ConvertZeroIPToPublic(addr string) string
- func GetExternalIP() (string, error)
- func GetInternalIPByUDP() (string, error)
- func GetIntranetIp() (ip net.IP, err error)
- func GetPublicAddr(addr string) (x string)
- func GetPulicIP() string
- func ParseNetwork(str string) (network, addr string, err error)
- func Y约定端口(addr string, channel, physerver int, use int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAddr ¶
func ConvertToZeroIP ¶
func GetExternalIP ¶
func GetInternalIPByUDP ¶
func GetIntranetIp ¶
func GetPublicAddr ¶
func GetPulicIP ¶
func GetPulicIP() string
func ParseNetwork ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.