chore(internal/provider): rename all structs to Provider

This commit is contained in:
Quentin McGaw
2022-05-27 18:05:04 +00:00
parent a295269518
commit a91eb95456
55 changed files with 102 additions and 102 deletions

View File

@@ -6,8 +6,8 @@ import (
"github.com/qdm12/gluetun/internal/provider/utils"
)
func (i *Ivpn) GetConnection(selection settings.ServerSelection) (
func (p *Provider) GetConnection(selection settings.ServerSelection) (
connection models.Connection, err error) {
defaults := utils.NewConnectionDefaults(443, 1194, 58237) //nolint:gomnd
return utils.GetConnection(i.servers, selection, defaults, i.randSource)
return utils.GetConnection(p.servers, selection, defaults, p.randSource)
}