Remove PIA v3 servers support
This commit is contained in:
@@ -62,7 +62,6 @@ type Reader interface {
|
||||
GetPortForwardingStatusFilepath() (filepath models.Filepath, err error)
|
||||
GetPIAEncryptionPreset() (preset string, err error)
|
||||
GetPIARegions() (regions []string, err error)
|
||||
GetPIAOldRegions() (regions []string, err error)
|
||||
|
||||
// Mullvad getters
|
||||
GetMullvadCountries() (countries []string, err error)
|
||||
|
||||
@@ -63,9 +63,3 @@ func (r *reader) GetPIAEncryptionPreset() (preset string, err error) {
|
||||
func (r *reader) GetPIARegions() (regions []string, err error) {
|
||||
return r.envParams.GetCSVInPossibilities("REGION", constants.PIAGeoChoices())
|
||||
}
|
||||
|
||||
// GetPIAOldRegions obtains the regions for the PIA servers from the
|
||||
// environment variable REGION.
|
||||
func (r *reader) GetPIAOldRegions() (regions []string, err error) {
|
||||
return r.envParams.GetCSVInPossibilities("REGION", constants.PIAOldGeoChoices())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user