Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextFromMapCarrier ¶
func ContextFromMapCarrier(mapCarrier propagation.MapCarrier) context.Context
Types ¶
type Event ¶
type Event struct {
Ctx context.Context //nolint:containedctx // context is used by drivers and should be passed along
Idx uint64
// User-defined label for incident investigation
Label string
Topic string
Partition string
Headers map[string]string
Body []byte
}
func (*Event) MapCarrier ¶
func (e *Event) MapCarrier() propagation.MapCarrier
Click to show internal directories.
Click to hide internal directories.