Documentation ¶
Index ¶
- func InstallInstrumentor(i Instrumentor)
- func StreamServerInterceptor(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, ...) (err error)
- func UnaryServerInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, ...) (resp interface{}, err error)
- type Instrumentor
- type MethodCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallInstrumentor ¶
func InstallInstrumentor(i Instrumentor)
func StreamServerInterceptor ¶
func StreamServerInterceptor(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) (err error)
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)
Types ¶
type Instrumentor ¶
type Instrumentor func(MethodCall)
Click to show internal directories.
Click to hide internal directories.