mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-09 20:29:23 +02:00
e8c8742bae
- Fix VyprVPN port - Fix missing Auth overrides
20 lines
319 B
Go
20 lines
319 B
Go
package nordvpn
|
|
|
|
import (
|
|
"math/rand"
|
|
|
|
"github.com/qdm12/gluetun/internal/models"
|
|
)
|
|
|
|
type Nordvpn struct {
|
|
servers []models.NordvpnServer
|
|
randSource rand.Source
|
|
}
|
|
|
|
func New(servers []models.NordvpnServer, randSource rand.Source) *Nordvpn {
|
|
return &Nordvpn{
|
|
servers: servers,
|
|
randSource: randSource,
|
|
}
|
|
}
|