Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New returns a TID(testing ID) and a context which contains the TID. If passed ctx already contains a TID, then the TID will be returned.
func NewGRPCHeaderPropagator ¶
func NewGRPCHeaderPropagator() grpc.UnaryServerInterceptor
NewGRPCHeaderPropagator returns an UnaryServerInterceptor that propagtes TID header from the incoming context to the outgoin context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.