Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RpcCliTrace ¶
func RpcCliTrace(serviceName string) grpc.UnaryServerInterceptor
RpcCliTrace returns a func that handles tracing with given service name.
func RpcSrvTrace ¶
func RpcSrvTrace(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
RpcSrvTrace is an interceptor that handles tracing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.