github.com/ethersphere/bee/v2@v2.2.0/pkg/resolver/client/client.go (about) 1 // Copyright 2020 The Swarm Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package client 6 7 import ( 8 "github.com/ethersphere/bee/v2/pkg/resolver" 9 ) 10 11 // Interface is a resolver client that can connect/disconnect to an external 12 // Name Resolution Service via an endpoint. 13 type Interface interface { 14 resolver.Interface 15 Endpoint() string 16 IsConnected() bool 17 }