Documentation ¶
Index ¶
Constants ¶
View Source
const TRACE_ID = "trace-id"
Variables ¶
This section is empty.
Functions ¶
func TraceIdInjectInterceptor ¶
func TraceIdInjectInterceptor(logger zerolog.Logger) grpc.UnaryClientInterceptor
TraceIdInjectInterceptor inject trace id present in the request context to grpc request metadata, Set the trace id in content using context.WithValue("trace-id", your_awesome_trace_id)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.