Vyprvpn support, fix #181 (#193)

This commit is contained in:
Quentin McGaw
2020-07-13 08:04:35 -04:00
committed by GitHub
parent 4a7d341c57
commit 618441b008
13 changed files with 404 additions and 20 deletions

View File

@@ -0,0 +1,11 @@
package params
import (
"github.com/qdm12/private-internet-access-docker/internal/constants"
)
// GetVyprvpnRegion obtains the region for the Vyprvpn server from the
// environment variable REGION
func (r *reader) GetVyprvpnRegion() (region string, err error) {
return r.envParams.GetValueIfInside("REGION", constants.VyprvpnRegionChoices())
}