Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeliverSpan ¶
func (*DeliverSpan) End ¶
func (d *DeliverSpan) End(options ...trace.SpanEndOption)
func (*DeliverSpan) RecordError ¶
func (d *DeliverSpan) RecordError(err error, options ...trace.EventOption)
type EventTracer ¶
type EventTracer interface { Receive(context.Context, *models.Event) (context.Context, trace.Span) StartDelivery(context.Context, *models.DeliveryEvent) (context.Context, trace.Span) Deliver(context.Context, *models.DeliveryEvent, *models.Destination) (context.Context, trace.Span) }
func NewEventTracer ¶
func NewEventTracer() EventTracer
func NewNoopEventTracer ¶
func NewNoopEventTracer() EventTracer
Click to show internal directories.
Click to hide internal directories.