Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBeaconAPIClient ¶
type MockBeaconAPIClient struct {
// contains filtered or unexported fields
}
func NewMockBeaconAPIClient ¶
func NewMockBeaconAPIClient( subscribeToHeadEventsImpl func(context.Context, client.EventHandlerFunc) error, ) *MockBeaconAPIClient
func (*MockBeaconAPIClient) SubscribeToHeadEvents ¶
func (m *MockBeaconAPIClient) SubscribeToHeadEvents( ctx context.Context, handler client.EventHandlerFunc, ) error
func (*MockBeaconAPIClient) WithDefaultInternalImplementations ¶
func (m *MockBeaconAPIClient) WithDefaultInternalImplementations() *MockBeaconAPIClient
type MockRelayAPIClient ¶
type MockRelayAPIClient struct {
// contains filtered or unexported fields
}
func NewMockRelayAPIClient ¶
func (*MockRelayAPIClient) GetRelayAPIURL ¶
func (m *MockRelayAPIClient) GetRelayAPIURL() string
func (*MockRelayAPIClient) GetRelayDataForSlot ¶
func (*MockRelayAPIClient) WithDefaultInternalImplementations ¶
func (m *MockRelayAPIClient) WithDefaultInternalImplementations() *MockRelayAPIClient
Click to show internal directories.
Click to hide internal directories.