Maint: deduplicate ProtonVPN servers by entry IP

This commit is contained in:
Quentin McGaw (desktop)
2021-09-30 15:23:18 +00:00
parent 1d25a0e18c
commit a432de95a9
7 changed files with 3158 additions and 8865 deletions

View File

@@ -107,13 +107,13 @@ type PrivatevpnServer struct {
}
type ProtonvpnServer struct {
Country string `json:"country"`
Region string `json:"region"`
City string `json:"city"`
Name string `json:"name"`
Hostname string `json:"hostname"`
EntryIP net.IP `json:"entry_ip"`
ExitIP net.IP `json:"exit_ip"` // TODO verify it matches with public IP once connected
Country string `json:"country"`
Region string `json:"region"`
City string `json:"city"`
Name string `json:"name"`
Hostname string `json:"hostname"`
EntryIP net.IP `json:"entry_ip"`
ExitIPs []net.IP `json:"exit_ip"` // TODO verify it matches with public IP once connected
}
type PurevpnServer struct {