Openvpn get settings http route

This commit is contained in:
Quentin McGaw
2020-07-19 14:26:24 +00:00
parent 29f74df450
commit 4baf0420d6
9 changed files with 172 additions and 41 deletions

View File

@@ -11,13 +11,13 @@ import (
// OpenVPN contains settings to configure the OpenVPN client
type OpenVPN struct {
User string
Password string
Verbosity int
Root bool
Cipher string
Auth string
Provider models.ProviderSettings
User string `json:"user"`
Password string `json:"-"`
Verbosity int `json:"verbosity"`
Root bool `json:"runAsRoot"`
Cipher string `json:"cipher"`
Auth string `json:"auth"`
Provider models.ProviderSettings `json:"provider"`
}
// GetOpenVPNSettings obtains the OpenVPN settings using the params functions