Files
gluetun/internal/provider/common/updater.go
2022-06-09 17:11:24 +00:00

15 lines
284 B
Go

package common
import (
"context"
"errors"
"net"
)
var ErrNotEnoughServers = errors.New("not enough servers found")
type ParallelResolver interface {
Resolve(ctx context.Context, hosts []string, minToFind int) (
hostToIPs map[string][]net.IP, warnings []string, err error)
}