Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientInterceptor ¶
func ClientInterceptor(tracer opentracing.Tracer) grpc.UnaryClientInterceptor
func ServerInterceptor ¶
func ServerInterceptor(tracer opentracing.Tracer) grpc.UnaryServerInterceptor
Types ¶
type MDReaderWriter ¶
custom MD carrier
func (MDReaderWriter) ForeachKey ¶
func (m MDReaderWriter) ForeachKey(handler func(key, val string) error) error
the carrier must be a TextMapReader
func (MDReaderWriter) Set ¶
func (m MDReaderWriter) Set(key, val string)
the carrier must be a TextMapWriter
Click to show internal directories.
Click to hide internal directories.