Documentation ¶
Index ¶
- func ClientInterceptor(tracer opentracing.Tracer) grpc.UnaryClientInterceptor
- func DialOption(tracer opentracing.Tracer) grpc.DialOption
- func GetDialOption() []grpc.DialOption
- func GetServerOption() []grpc.ServerOption
- func ServerInterceptor(tracer opentracing.Tracer) grpc.UnaryServerInterceptor
- func ServerOption(tracer opentracing.Tracer) grpc.ServerOption
- type MDReaderWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientInterceptor ¶
func ClientInterceptor(tracer opentracing.Tracer) grpc.UnaryClientInterceptor
ClientInterceptor grpc client wrapper
func DialOption ¶
func DialOption(tracer opentracing.Tracer) grpc.DialOption
DialOption grpc client option
func ServerInterceptor ¶
func ServerInterceptor(tracer opentracing.Tracer) grpc.UnaryServerInterceptor
ServerInterceptor grpc server wrapper
func ServerOption ¶
func ServerOption(tracer opentracing.Tracer) grpc.ServerOption
ServerOption grpc server option
Types ¶
type MDReaderWriter ¶
MDReaderWriter metadata Reader and Writer
func (MDReaderWriter) ForeachKey ¶
func (c MDReaderWriter) ForeachKey(handler func(key, val string) error) error
ForeachKey implements ForeachKey of opentracing.TextMapReader
func (MDReaderWriter) Set ¶
func (c MDReaderWriter) Set(key, val string)
Set implements Set() of opentracing.TextMapWriter
Click to show internal directories.
Click to hide internal directories.