Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerSettings ¶
type ServerSettings struct {
XMLName xml.Name `xml:"settings"`
ServersContainer TheServersContainer `xml:"servers"`
}
ServerSettings is the servers part of the setings
type TheClient ¶
type TheClient struct {
IP string `xml:"ip,attr"`
Lat string `xml:"lat,attr"`
Lon string `xml:"lon,attr"`
Isp string `xml:"isp,attr"`
}
TheClient is our users information
type TheServersContainer ¶
type TheServersContainer struct {
XMLName xml.Name `xml:"servers"`
XMLServers []XMLServer `xml:"server"`
}
TheServersContainer is a list of servers
type XMLConfigSettings ¶
XMLConfigSettings is a container for settings
type XMLServer ¶
type XMLServer struct {
XMLName xml.Name `xml:"server"`
URL string `xml:"url,attr"`
Lat string `xml:"lat,attr"`
Lon string `xml:"lon,attr"`
Name string `xml:"name,attr"`
Country string `xml:"country,attr"`
CC string `xml:"cc,attr"`
Sponsor string `xml:"sponsor,attr"`
ID string `xml:"id,attr"`
}
XMLServer is a candidate server
Click to show internal directories.
Click to hide internal directories.