Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
URL string `json:"url"`
Lat string `json:"lat"`
Lon string `json:"lon"`
Distance int `json:"distance"`
Name string `json:"name"`
Country string `json:"country"`
Cc string `json:"cc"`
Sponsor string `json:"sponsor"`
ID string `json:"id"`
Preferred int `json:"preferred"`
Host string `json:"host"`
ForcePingSelect int `json:"force_ping_select"`
BestTestPing int64
}
Server is the server struct for a json server
func GetAllServers ¶
GetAllServers parses the list of all recommended servers
Click to show internal directories.
Click to hide internal directories.