client.go 443 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
// 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 client

import (
	"github.com/ethersphere/bee/pkg/resolver"
)

// Interface is a resolver client that can connect/disconnect to an external
12
// Name Resolution Service via an endpoint.
13 14
type Interface interface {
	resolver.Interface
15
	Endpoint() string
16 17
	IsConnected() bool
}