Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extractor ¶
type Extractor interface { Data(filepath string) (lines []string, connection models.Connection, err error) }
type Provider ¶
type Provider interface { GetConnection(selection settings.ServerSelection, ipv6Supported bool) (connection models.Connection, err error) OpenVPNConfig(connection models.Connection, settings settings.OpenVPN, ipv6Supported bool) (lines []string) Name() string FetchServers(ctx context.Context, minServers int) ( servers []models.Server, err error) }
Provider contains methods to read and modify the openvpn configuration to connect as a client.
type Providers ¶
type Providers struct {
// contains filtered or unexported fields
}
func NewProviders ¶
Directories ¶
Path | Synopsis |
---|---|
Package common is a generated GoMock package.
|
Package common is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.