mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-10 04:30:20 +02:00
e8e7b83297
- Require at least 80% of number of servers now to pass - Each provider is in its own package with a common structure - Unzip package with unzipper interface - Openvpn package with extraction and download functions
14 lines
233 B
Go
14 lines
233 B
Go
package privado
|
|
|
|
import (
|
|
"sort"
|
|
|
|
"github.com/qdm12/gluetun/internal/models"
|
|
)
|
|
|
|
func sortServers(servers []models.PrivadoServer) {
|
|
sort.Slice(servers, func(i, j int) bool {
|
|
return servers[i].Hostname < servers[j].Hostname
|
|
})
|
|
}
|