14 lines
452 B
Go
14 lines
452 B
Go
package fastestvpn
|
|
|
|
import (
|
|
"github.com/qdm12/gluetun/internal/configuration/settings"
|
|
"github.com/qdm12/gluetun/internal/models"
|
|
"github.com/qdm12/gluetun/internal/provider/utils"
|
|
)
|
|
|
|
func (f *Fastestvpn) GetConnection(selection settings.ServerSelection) (
|
|
connection models.Connection, err error) {
|
|
defaults := utils.NewConnectionDefaults(4443, 4443, 0) //nolint:gomnd
|
|
return utils.GetConnection(f.servers, selection, defaults, f.randSource)
|
|
}
|