package
2.3.0+incompatible
Repository: https://github.com/jaegertracing/jaeger.git
Documentation: pkg.go.dev
# Functions
ContextWithBearerToken set bearer token in context.
GetBearerToken from context, or empty string if there is no token.
NewStreamClientInterceptor injects the bearer token header into gRPC request metadata.
NewStreamServerInterceptor creates a new stream interceptor that injects the bearer token into the context if available.
NewUnaryClientInterceptor injects the bearer token header into gRPC request metadata.
NewUnaryServerInterceptor creates a new unary interceptor that injects the bearer token into the context if available.
PropagationHandler returns a http.Handler containing the logic to extract the Bearer token from the Authorization header of the http.Request and insert it into request.Context for propagation.
extract bearer token from the metadata.
# Constants
StoragePropagationKey is a key for viper configuration to pass this option to storage plugins.
# Structs
RoundTripper wraps another http.RoundTripper and injects an authentication header with bearer token into requests.