Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientInterceptor ¶
func ClientInterceptor(opts ...Option) ttrpc.UnaryClientInterceptor
ClientInterceptor returns a TTRPC unary client interceptor that automatically creates a new span for outgoing TTRPC calls, and passes the span context as metadata on the call.
func ServerInterceptor ¶
func ServerInterceptor(opts ...Option) ttrpc.UnaryServerInterceptor
ServerInterceptor returns a TTRPC unary server interceptor that automatically creates a new span for incoming TTRPC calls, and parents the span to the span context received via metadata, if it exists.
Types ¶
Click to show internal directories.
Click to hide internal directories.