chore(resolver): export structs instead of interfaces

This commit is contained in:
Quentin McGaw
2022-06-09 03:10:56 +00:00
parent 415cb7a945
commit 899f10c35e
37 changed files with 114 additions and 130 deletions

View File

@@ -6,7 +6,7 @@ import (
"github.com/qdm12/gluetun/internal/updater/resolver"
)
func newParallelResolver() resolver.Parallel {
func newParallelResolver() *resolver.Parallel {
const (
maxFailRatio = 0.1
maxNoNew = 1

View File

@@ -1,13 +1,13 @@
package fastestvpn
import (
"github.com/qdm12/gluetun/internal/updater/resolver"
"github.com/qdm12/gluetun/internal/provider/common"
"github.com/qdm12/gluetun/internal/updater/unzip"
)
type Updater struct {
unzipper unzip.Unzipper
presolver resolver.Parallel
presolver common.ParallelResolver
warner Warner
}