Documentation
¶
Overview ¶
Package contextpropagation shares private preparation markers between physical queues and the workflow bus.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prepared ¶
type Prepared struct{ Propagator }
Prepared delegates injection after the physical worker has already restored the receiving context.
type Propagator ¶
type Propagator interface {
// Inject snapshots selected correlation fields for the next delivery.
Inject(context.Context) map[string]string
// Extract restores selected correlation onto the receiver's lifetime.
Extract(context.Context, map[string]string) context.Context
}
Propagator describes the transport-neutral contract without coupling this internal package to either caller.
Click to show internal directories.
Click to hide internal directories.