Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InMemoryPublisher ¶
InMemoryPublisher is a publisher which stores events in memory, to be used in unit tests
func NewInMemoryPublisher ¶
func NewInMemoryPublisher() *InMemoryPublisher
NewInMemoryPublisher creates a new instance of InMemoryPublisher
func (*InMemoryPublisher) Publish ¶
func (p *InMemoryPublisher) Publish(e beat.Event)
Publish stores a new event in memory
Click to show internal directories.
Click to hide internal directories.