package
0.21.10
Repository: https://github.com/attestantio/go-eth2-client.git
Documentation: pkg.go.dev

# Functions

New creates a new Ethereum 2 client with multiple endpoints.
WithAddresses sets the addresses of clients to add to the multi list.
WithAllowDelayedStart allows the service to start even if the client is unavailable.
WithClients sets the pre-existing clients to add to the multi list.
WithEnforceJSON forces all requests and responses to be in JSON, not sending or requesting SSZ.
WithExtraHeaders sets additional headers to be sent with each HTTP request.
WithLogLevel sets the log level for the module.
WithMonitor sets the monitor for the service.
WithName sets the name for the multiclient.
WithTimeout sets the timeout for client requests.

# Variables

ErrIncorrectType is returned when the multi client obtain a response type it is not expecting.

# Structs

Service handles multiple Ethereum 2 clients.

# Interfaces

Parameter is the interface for service parameters.