Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogPublisher ¶
type LogPublisher interface { Start() Stop() }
LogPublisher provides functionality to start and stop a publisher worker.
func New ¶
func New( async bool, in chan []*input.Event, out SuccessLogger, pub publisher.Publisher, ) LogPublisher
type SuccessLogger ¶
type SuccessLogger interface { // Published will be run after events have been acknowledged by the outputs. Published(events []*input.Event) bool }
SuccessLogger is used to report successfully published events.
Click to show internal directories.
Click to hide internal directories.