chore(provider): add Name() method per provider

This commit is contained in:
Quentin McGaw
2022-06-07 16:58:08 +00:00
parent 79f213d97a
commit e37f557cd5
42 changed files with 106 additions and 40 deletions

View File

@@ -39,6 +39,7 @@ import (
type Provider interface {
GetConnection(selection settings.ServerSelection) (connection models.Connection, err error)
OpenVPNConfig(connection models.Connection, settings settings.OpenVPN) (lines []string)
Name() string
PortForwarder
}