Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client allows to connect to a JSON-RPC server
func NewClient ¶
NewClient creates a client connecting to an Ethereum 2.0 Beacon chain node at given addr
func NewClientFromClient ¶
NewClient creates a new client connected to a JSON-RPC server
func (*Client) Logger ¶
func (c *Client) Logger() logrus.FieldLogger
func (*Client) SetLogger ¶
func (c *Client) SetLogger(logger logrus.FieldLogger)
type Config ¶
type Config struct { Address string HTTP *kilnhttp.ClientConfig }
func (*Config) SetDefault ¶
Click to show internal directories.
Click to hide internal directories.