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

@@ -9,7 +9,7 @@ import (
)
type PIA struct {
servers []models.PIAServer
servers []models.Server
randSource rand.Source
timeNow func() time.Time
// Port forwarding
@@ -17,7 +17,7 @@ type PIA struct {
authFilePath string
}
func New(servers []models.PIAServer, randSource rand.Source,
func New(servers []models.Server, randSource rand.Source,
timeNow func() time.Time) *PIA {
const jsonPortForwardPath = "/gluetun/piaportforward.json"
return &PIA{