feat(protonvpn): Wireguard support (#2390)

This commit is contained in:
Quentin McGaw
2024-08-03 16:10:35 +02:00
committed by GitHub
parent dea4080a7b
commit ac9446e296
11 changed files with 9584 additions and 111 deletions

View File

@@ -28,10 +28,11 @@ type logicalServer struct {
}
type physicalServer struct {
EntryIP netip.Addr `json:"EntryIP"`
ExitIP netip.Addr `json:"ExitIP"`
Domain string `json:"Domain"`
Status uint8 `json:"Status"`
EntryIP netip.Addr `json:"EntryIP"`
ExitIP netip.Addr `json:"ExitIP"`
Domain string `json:"Domain"`
Status uint8 `json:"Status"`
X25519PublicKey string `json:"X25519PublicKey"`
}
func fetchAPI(ctx context.Context, client *http.Client) (