//
pkg.gl
Category
github.com/heroku/x
grpc
requestid
package
0.4.3
Repository:
https://github.com/heroku/x.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
3
Files
32 SLOC
#
Functions
AppendToOutgoingContext
AppendToOutgoingContext returns a context with the request-id added to the gRPC metadata.
FromContext
FromContext returns a request ID from gRPC metadata if available in ctx.
NewMetadata
NewMetadata constructs gRPC metadata with the request ID set.