Feature: filter by hostname for PureVPN servers

- Record support for TCP and UDP for each hostname
- Fix: each hostname supports only TCP or UDP, not both
- Update PureVPN server information
This commit is contained in:
Quentin McGaw
2021-05-10 00:36:14 +00:00
parent 4fe1e062f2
commit 6c1c069261
11 changed files with 185 additions and 103 deletions

View File

@@ -82,7 +82,7 @@ func Test_versions(t *testing.T) {
"Purevpn": {
model: models.PurevpnServer{},
version: allServers.Purevpn.Version,
digest: "ada45379",
digest: "23f2d422",
},
"Surfshark": {
model: models.SurfsharkServer{},
@@ -188,7 +188,7 @@ func Test_timestamps(t *testing.T) {
"Purevpn": {
servers: allServers.Purevpn.Servers,
timestamp: allServers.Purevpn.Timestamp,
digest: "8381d2b7",
digest: "e48aa76d",
},
"Surfshark": {
servers: allServers.Surfshark.Servers,