chore(resolver): export structs instead of interfaces
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user