Files
gluetun/internal/provider/ivpn/provider.go

20 lines
301 B
Go
Raw Normal View History

2021-05-31 00:11:16 +00:00
package ivpn
import (
"math/rand"
"github.com/qdm12/gluetun/internal/models"
)
type Ivpn struct {
servers []models.IvpnServer
randSource rand.Source
}
func New(servers []models.IvpnServer, randSource rand.Source) *Ivpn {
return &Ivpn{
servers: servers,
randSource: randSource,
}
}