Servers updater (#232)

* Support for all VPN providers
* Update all VPN providers servers information
* Remove old tooling binaries
This commit is contained in:
Quentin McGaw
2020-09-05 12:57:16 -04:00
committed by GitHub
parent 9dcc00900e
commit 797fa33971
30 changed files with 4028 additions and 3818 deletions

12
internal/updater/alias.go Normal file
View File

@@ -0,0 +1,12 @@
package updater
import (
"context"
"net"
"net/http"
)
type (
httpGetFunc func(url string) (r *http.Response, err error)
lookupIPFunc func(ctx context.Context, host string) (ips []net.IP, err error)
)