Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendToOutgoingContext ¶ added in v0.0.2
AppendToOutgoingContext returns a context with the request-id added to the gRPC metadata.
func FromContext ¶
FromContext returns a request ID from gRPC metadata if available in ctx.
func NewMetadata ¶
NewMetadata constructs gRPC metadata with the request ID set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.