Documentation ¶
Index ¶
Constants ¶
View Source
const EnvIDHeader = "env-id"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvID ¶
type EnvID struct{}
func (EnvID) Extract ¶
func (e EnvID) Extract(parent context.Context, carrier propagation.TextMapCarrier) context.Context
func (EnvID) Inject ¶
func (e EnvID) Inject(ctx context.Context, carrier propagation.TextMapCarrier)
type PiCoPCarrier ¶
PiCoPCarrier adapts PiCoP to satisfy the OpenTelemetry TextMapCarrier interface.
func NewPiCoPCarrier ¶
func NewPiCoPCarrier(h *header.Header) PiCoPCarrier
func (PiCoPCarrier) Get ¶
func (bc PiCoPCarrier) Get(key string) string
func (PiCoPCarrier) Keys ¶
func (bc PiCoPCarrier) Keys() []string
func (PiCoPCarrier) Set ¶
func (bc PiCoPCarrier) Set(key, value string)
Click to show internal directories.
Click to hide internal directories.