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
|
||||
maxDuration = 15 * time.Second
|
||||
|
||||
@@ -3,12 +3,12 @@ package hidemyass
|
||||
import (
|
||||
"net/http"
|
||||
|
||||
"github.com/qdm12/gluetun/internal/updater/resolver"
|
||||
"github.com/qdm12/gluetun/internal/provider/common"
|
||||
)
|
||||
|
||||
type Updater struct {
|
||||
client *http.Client
|
||||
presolver resolver.Parallel
|
||||
presolver common.ParallelResolver
|
||||
warner Warner
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user