Feature: 3 IP addresses per Windscribe server

This commit is contained in:
Quentin McGaw
2021-05-10 14:34:42 +00:00
parent 2d95edf8ab
commit 52ff03ae41
7 changed files with 349 additions and 329 deletions

View File

@@ -31,8 +31,10 @@ type groupData struct {
}
type serverData struct {
Hostname string `json:"hostname"`
OpenvpnIP net.IP `json:"ip2"`
Hostname string `json:"hostname"`
IP net.IP `json:"ip"`
IP2 net.IP `json:"ip2"`
IP3 net.IP `json:"ip3"`
}
func fetchAPI(ctx context.Context, client *http.Client) (