diff --git a/internal/models/alias.go b/internal/models/alias.go index 532ad77e..08d87d8d 100644 --- a/internal/models/alias.go +++ b/internal/models/alias.go @@ -11,6 +11,12 @@ type ( PIAEncryption string // PIARegion is used to define the list of regions available for PIA PIARegion string + // MullvadCountry is used as the country for a Mullvad server + MullvadCountry string + // MullvadCity is used as the city for a Mullvad server + MullvadCity string + // MullvadProvider is used as the Internet service provider for a Mullvad server + MullvadProvider string // URL is an HTTP(s) URL address URL string // Filepath is a local filesytem file path diff --git a/internal/models/mullvad.go b/internal/models/mullvad.go new file mode 100644 index 00000000..a193aa4c --- /dev/null +++ b/internal/models/mullvad.go @@ -0,0 +1,12 @@ +package models + +import "net" + +type MullvadServer struct { + Country MullvadCountry + City MullvadCity + Provider MullvadProvider + Owned bool + IPs []net.IP + DefaultPort uint16 +}