Moved GetUser and GetPassword to openvpn params getters

This commit is contained in:
Quentin McGaw (desktop)
2020-02-16 19:55:01 +00:00
parent c42d13f14f
commit 95ee3b4276
3 changed files with 38 additions and 36 deletions

View File

@@ -29,11 +29,11 @@ type ParamsReader interface {
GetExtraSubnets() (extraSubnets []net.IPNet, err error)
// VPN getters
GetUser() (s string, err error)
GetPassword() (s string, err error)
GetNetworkProtocol() (protocol models.NetworkProtocol, err error)
// PIA getters
GetUser() (s string, err error)
GetPassword() (s string, err error)
GetPortForwarding() (activated bool, err error)
GetPortForwardingStatusFilepath() (filepath models.Filepath, err error)
GetPIAEncryption() (models.PIAEncryption, error)