Feature: Hide My Ass VPN provider support (#401)

This commit is contained in:
Quentin McGaw
2021-03-05 22:45:54 -05:00
committed by GitHub
parent 8b36ce198f
commit be72f4a046
23 changed files with 924 additions and 8 deletions

View File

@@ -11,6 +11,7 @@ type Updater struct {
Period time.Duration `json:"period"`
DNSAddress string `json:"dns_address"`
Cyberghost bool `json:"cyberghost"`
HideMyAss bool `json:"hidemyass"`
Mullvad bool `json:"mullvad"`
Nordvpn bool `json:"nordvpn"`
PIA bool `json:"pia"`
@@ -43,6 +44,7 @@ func (settings *Updater) lines() (lines []string) {
func (settings *Updater) read(r reader) (err error) {
settings.Cyberghost = true
settings.HideMyAss = true
settings.Mullvad = true
settings.Nordvpn = true
settings.Privado = true