2020-02-06 20:42:46 -05:00
|
|
|
package models
|
|
|
|
|
|
|
|
|
|
type (
|
|
|
|
|
// VPNDevice is the device name used to tunnel using Openvpn
|
|
|
|
|
VPNDevice string
|
|
|
|
|
// DNSProvider is a DNS over TLS server provider name
|
|
|
|
|
DNSProvider string
|
2020-02-08 17:13:19 +00:00
|
|
|
// DNSHost is the DNS host to use for TLS validation
|
|
|
|
|
DNSHost string
|
2020-02-06 20:42:46 -05:00
|
|
|
// PIAEncryption defines the level of encryption for communication with PIA servers
|
|
|
|
|
PIAEncryption string
|
2020-02-10 18:17:22 +00:00
|
|
|
// PIARegion is used to define the list of regions available for PIA
|
2020-02-06 20:42:46 -05:00
|
|
|
PIARegion string
|
2020-02-16 17:33:52 +00:00
|
|
|
// MullvadCountry is used as the country for a Mullvad server
|
|
|
|
|
MullvadCountry string
|
|
|
|
|
// MullvadCity is used as the city for a Mullvad server
|
|
|
|
|
MullvadCity string
|
|
|
|
|
// MullvadProvider is used as the Internet service provider for a Mullvad server
|
|
|
|
|
MullvadProvider string
|
2020-03-29 16:42:06 -04:00
|
|
|
// WindscribeCity is used as the region for a Windscribe server
|
|
|
|
|
WindscribeRegion string
|
2020-02-06 20:42:46 -05:00
|
|
|
// URL is an HTTP(s) URL address
|
|
|
|
|
URL string
|
|
|
|
|
// Filepath is a local filesytem file path
|
|
|
|
|
Filepath string
|
|
|
|
|
// TinyProxyLogLevel is the log level for TinyProxy
|
|
|
|
|
TinyProxyLogLevel string
|
|
|
|
|
// VPNProvider is the name of the VPN provider to be used
|
|
|
|
|
VPNProvider string
|
|
|
|
|
// NetworkProtocol contains the network protocol to be used to communicate with the VPN servers
|
|
|
|
|
NetworkProtocol string
|
|
|
|
|
)
|