Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostPublicIP ¶
func GetHostPublicIP() string
GetHostPublicIP to get the public ip address. Only work if not behind NAT
func GetRemoteAddress ¶
GetRemoteAddress returns public address of websocket connection
func IsPublicIP ¶
IsPublicIP checks if address is public address
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.