mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-07 04:20:12 +02:00
e8c8742bae
- Fix VyprVPN port - Fix missing Auth overrides
20 lines
337 B
Go
20 lines
337 B
Go
package windscribe
|
|
|
|
import (
|
|
"math/rand"
|
|
|
|
"github.com/qdm12/gluetun/internal/models"
|
|
)
|
|
|
|
type Windscribe struct {
|
|
servers []models.WindscribeServer
|
|
randSource rand.Source
|
|
}
|
|
|
|
func New(servers []models.WindscribeServer, randSource rand.Source) *Windscribe {
|
|
return &Windscribe{
|
|
servers: servers,
|
|
randSource: randSource,
|
|
}
|
|
}
|