Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExternalIpv4 ¶
func GetExternalIpv6 ¶
获取本机的公网ipv6地址。优先获取eui64格式地址。 如果本机没有公网地址,则会返回实际访问外网使用的ipv6地址(一般是上级路由公网地址),同时返回一个error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.