chore(updater): rename GetServers to FetchServers

This commit is contained in:
Quentin McGaw
2022-06-07 16:47:35 +00:00
parent 11e1c9f9bb
commit 79f213d97a
23 changed files with 26 additions and 26 deletions

View File

@@ -15,7 +15,7 @@ import (
"golang.org/x/text/language"
)
func (u *Updater) GetServers(ctx context.Context, minServers int) (
func (u *Updater) FetchServers(ctx context.Context, minServers int) (
servers []models.Server, err error) {
const tcpURL = "https://torguard.net/downloads/OpenVPN-TCP-Linux.zip"
tcpContents, err := u.unzipper.FetchAndExtract(ctx, tcpURL)