Documentation
¶
Index ¶
- func ExtractGRPCMetadata(ctx context.Context, md metadata.MD) context.Context
- func ExtractHTTPHeader(ctx context.Context, headers *protocol.RequestHeader) context.Context
- func InjectGRPCMetadata(ctx context.Context, md metadata.MD)
- func InjectHTTPHeader(ctx context.Context, headers *protocol.RequestHeader)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractGRPCMetadata ¶ added in v0.6.0
ExtractGRPCMetadata returns the baggage and span context from grpc metadata
func ExtractHTTPHeader ¶ added in v0.6.0
ExtractHTTPHeader returns the baggage and span context
func InjectGRPCMetadata ¶ added in v0.6.0
InjectGRPCMetadata injects span context into the grpc metadata
func InjectHTTPHeader ¶ added in v0.6.0
func InjectHTTPHeader(ctx context.Context, headers *protocol.RequestHeader)
InjectHTTPHeader injects span context into the hertz metadata info
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.