Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcHeaderCarrier ¶
GrpcHeaderCarrier ...
func (GrpcHeaderCarrier) Get ¶
func (mc GrpcHeaderCarrier) Get(key string) string
Get returns the value associated with the passed key.
func (GrpcHeaderCarrier) Keys ¶
func (mc GrpcHeaderCarrier) Keys() []string
Keys lists the keys stored in this carrier.
func (GrpcHeaderCarrier) Set ¶
func (mc GrpcHeaderCarrier) Set(key string, value string)
Set stores the key-value pair.
type OTELInterceptorBuilder ¶
type OTELInterceptorBuilder struct { interceptors.Builder // contains filtered or unexported fields }
func NewOTELInterceptorBuilder ¶
func NewOTELInterceptorBuilder( serviceName string, peerName string, tracer trace.Tracer, propagator propagation.TextMapPropagator) *OTELInterceptorBuilder
func (*OTELInterceptorBuilder) BuildUnaryClientInterceptor ¶
func (b *OTELInterceptorBuilder) BuildUnaryClientInterceptor() grpc.UnaryClientInterceptor
func (*OTELInterceptorBuilder) BuildUnaryServerInterceptor ¶
func (b *OTELInterceptorBuilder) BuildUnaryServerInterceptor() grpc.UnaryServerInterceptor
Click to show internal directories.
Click to hide internal directories.