chore(models): common Server & Servers for all providers (#943)

This commit is contained in:
Quentin McGaw
2022-04-16 22:25:36 +02:00
parent aa729515b9
commit 5d66c193aa
148 changed files with 27081 additions and 27795 deletions

View File

@@ -7,7 +7,7 @@ import (
)
func (v *Vyprvpn) filterServers(selection settings.ServerSelection) (
servers []models.VyprvpnServer, err error) {
servers []models.Server, err error) {
for _, server := range v.servers {
switch {
case

View File

@@ -9,12 +9,12 @@ import (
)
type Vyprvpn struct {
servers []models.VyprvpnServer
servers []models.Server
randSource rand.Source
utils.NoPortForwarder
}
func New(servers []models.VyprvpnServer, randSource rand.Source) *Vyprvpn {
func New(servers []models.Server, randSource rand.Source) *Vyprvpn {
return &Vyprvpn{
servers: servers,
randSource: randSource,