Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorMissingOrigin = errors.New("Event not emitted due to missing origin information")
View Source
var ErrorUnknownEventType = errors.New("Cannot create envelope for unknown event type")
Functions ¶
func NewUdpEmitter ¶
Types ¶
type ByteEmitter ¶
type EventEmitter ¶
type EventEmitter interface { Emit(events.Event) error EmitEnvelope(*events.Envelope) error Close() }
func NewEventEmitter ¶
func NewEventEmitter(byteEmitter ByteEmitter, origin string) EventEmitter
Source Files ¶
Click to show internal directories.
Click to hide internal directories.