Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProducer ¶
type MockProducer struct {
// contains filtered or unexported fields
}
MockProducer produces events for unit testing
func (*MockProducer) ProduceEvent ¶
func (c *MockProducer) ProduceEvent(event interface{})
ProduceEvent allows a unit test to send an event
func (*MockProducer) Register ¶
func (c *MockProducer) Register(eventch chan<- interface{})
Register registers an event channel with the event relay
Click to show internal directories.
Click to hide internal directories.