Files
gluetun/internal/provider/fastestvpn/provider.go
Quentin McGaw e8c8742bae Maintenance: split each provider in a package
- Fix VyprVPN port
- Fix missing Auth overrides
2021-05-11 17:10:51 +00:00

20 lines
337 B
Go

package fastestvpn
import (
"math/rand"
"github.com/qdm12/gluetun/internal/models"
)
type Fastestvpn struct {
servers []models.FastestvpnServer
randSource rand.Source
}
func New(servers []models.FastestvpnServer, randSource rand.Source) *Fastestvpn {
return &Fastestvpn{
servers: servers,
randSource: randSource,
}
}