Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBLSKeysFetcher ¶
func NewBLSKeysFetcher( httpClientWrapper HTTPClientWrapper, addresses []core.Address, timeBetweenQueries time.Duration, ) (*blsKeysFetcher, error)
NewBLSKeysFetcher creates a new instance of type bls keys fetcher
func NewValidatorStatisticsInteractor ¶
func NewValidatorStatisticsInteractor(httpClientWrapper HTTPClientWrapper) (*validatorStatisticsInteractor, error)
NewValidatorStatisticsInteractor can interact with the validator statistics API endpoint route
Types ¶
type HTTPClientWrapper ¶
type HTTPClientWrapper interface { GetHTTP(ctx context.Context, endpoint string) ([]byte, int, error) PostHTTP(ctx context.Context, endpoint string, data []byte) ([]byte, int, error) IsInterfaceNil() bool }
HTTPClientWrapper defines what an HTTP client wrapper should implement
Click to show internal directories.
Click to hide internal directories.