Feature: filter by hostname for Cyberghost servers

This commit is contained in:
Quentin McGaw
2021-05-08 19:05:11 +00:00
parent c0e4d805b1
commit a34769ae02
9 changed files with 182 additions and 121 deletions

View File

@@ -25,8 +25,9 @@ func getPossibleServers() (possibleServers hostToServer) {
const domain = "cg-dialup.net"
possibleHost := groupID + "-" + countryCode + "." + domain
possibleServer := models.CyberghostServer{
Region: region,
Group: groupName,
Hostname: possibleHost,
Region: region,
Group: groupName,
}
possibleServers[possibleHost] = possibleServer
}