Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvelopeEmitter ¶
type EnvelopeSender ¶
type EnvelopeSender struct {
// contains filtered or unexported fields
}
A EnvelopeSender emits envelopes.
func NewEnvelopeSender ¶
func NewEnvelopeSender(emitter EnvelopeEmitter) *EnvelopeSender
NewEnvelopeSender instantiates a EnvelopeSender with the given EventEmitter.
func (*EnvelopeSender) SendEnvelope ¶
func (ms *EnvelopeSender) SendEnvelope(envelope *events.Envelope) error
SendEnvelope sends the given envelope. Returns an error if one occurs while sending the envelope.
Click to show internal directories.
Click to hide internal directories.