Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrFailedToConnect denotes that the resolver failed to connect to the // provided endpoint. ErrFailedToConnect = errors.New("failed to connect") // ErrResolveFailed denotes that a name could not be resolved. ErrResolveFailed = errors.New("resolve failed") // ErrNotImplemented denotes that the function has not been implemented. ErrNotImplemented = errors.New("function not implemented") )
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a name resolution client that can connect to ENS via an Ethereum endpoint.
func (*Client) Close ¶
Close closes the RPC connection with the client, terminating all unfinished requests. If the connection is already closed, this call is a noop.
func (*Client) IsConnected ¶
IsConnected returns true if there is an active RPC connection with an Ethereum node at the configured endpoint.
Click to show internal directories.
Click to hide internal directories.