Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOpentracingSource ¶
func NewOpentracingSource(options ...Option) *opentracingSource
NewOpentracingSource returns a correlation ID source and store using opentracing trace.
func NewOpentracingStore ¶
func NewOpentracingStore(options ...Option) *opentracingStore
NewOpentracingStore returns a correlation ID source and store using opentracing trace.
func NewOption ¶
func NewOption(options ...Option) correlationid.Option
NewOption returns correlation ID options configuring opentracing.
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is used to define middleware configuration.
type RestrictedKey ¶
type RestrictedKey string
RestrictedKey customizes the baggage item restricted key for the correlation ID
Click to show internal directories.
Click to hide internal directories.