* Support for all VPN providers * Update all VPN providers servers information * Remove old tooling binaries
13 lines
208 B
Go
13 lines
208 B
Go
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)
|
|
)
|