Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventHub ¶
type MockEventHub struct { Adapter consumer.EventAdapter Interests []*pb.Interest NumStartFailures int }
MockEventHub mocks out the Event Hub
func (*MockEventHub) Disconnect ¶
func (m *MockEventHub) Disconnect(err error)
Disconnect simulates a disconnect
func (*MockEventHub) ProduceEvent ¶
func (m *MockEventHub) ProduceEvent(event *pb.Event)
ProduceEvent produces a new event, which is sent to the adapter
func (*MockEventHub) Start ¶
func (m *MockEventHub) Start() error
Start implements the Start() method on the relay.EventHub interface
Click to show internal directories.
Click to hide internal directories.