trace

package
v1.2.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2021 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL