Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
StunServers = []StunServer{
{Domain: "stun1.l.google.com", Port: 19302},
{Domain: "stun2.l.google.com", Port: 19302},
{Domain: "stun3.l.google.com", Port: 19302},
{Domain: "stun4.l.google.com", Port: 19302},
}
)
Functions ¶
func DoesIPExistLocally ¶
DoesIPExistLocally - checks if the IP address exists on a local interface
Types ¶
type StunServer ¶
type StunServer struct {
Domain string `json:"domain" yaml:"domain"`
Port int `json:"port" yaml:"port"`
}
StunServer - struct to hold data required for using stun server
Click to show internal directories.
Click to hide internal directories.