• Pavle Batuta's avatar
    Resolver refactor service (#670) · ec3f1675
    Pavle Batuta authored
    Broad-spectrum refactor of the resolver package.
    
    - removed TLD constraints (all TLDs are now accepted)
    - merged resolver service into multiresolver
    - simplified client code
    - refactored tests
    - added MultiError
    - other minor fixes
    ec3f1675
export_test.go 378 Bytes
// Copyright 2020 The Swarm Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package multiresolver

import "github.com/ethersphere/bee/pkg/logging"

func GetLogger(mr *MultiResolver) logging.Logger {
	return mr.logger
}

func GetCfgs(mr *MultiResolver) []ConnectionConfig {
	return mr.cfgs
}