Documentation ¶
Index ¶
Constants ¶
View Source
const CorrelationIdMetadataKey string = "correlation-id-4b54b6c9-647a-4929-be87-481ba63fc04d"
View Source
const CorrelationIdcontext_key context_key = 0
Variables ¶
This section is empty.
Functions ¶
func GetCorrelationIdFromContext ¶
Fetch the correlation-id from context, that was either previously set in the current call-stack by using the NewContextWithCorrelationId function, or set by the client before making gPRC call.
func GetCorrelationIdFromIncomingContext ¶
For server-side MOC agent to pick the correlation-id which is previously set by gRPC client by using the NewContextWithCorrelationId function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.