Documentation
¶
Index ¶
- func Compress(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, ...) error
- func Error(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, ...) error
- func Session(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, ...) error
- func StreamCompress(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, ...) (grpc.ClientStream, error)
- func StreamError(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, ...) (grpc.ClientStream, error)
- func StreamSession(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, ...) (grpc.ClientStream, error)
- func StreamTracing() grpc.StreamClientInterceptor
- func Tracing() grpc.UnaryClientInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compress ¶
func Compress(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
func Error ¶
func Error(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
func Session ¶
func Session(ctx context.Context, method string, req, reply any, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error
func StreamCompress ¶
func StreamCompress(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, streamer grpc.Streamer, opts ...grpc.CallOption) (grpc.ClientStream, error)
func StreamError ¶
func StreamError(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, streamer grpc.Streamer, opts ...grpc.CallOption) (grpc.ClientStream, error)
func StreamSession ¶
func StreamSession(ctx context.Context, desc *grpc.StreamDesc, cc *grpc.ClientConn, method string, streamer grpc.Streamer, opts ...grpc.CallOption) (grpc.ClientStream, error)
func StreamTracing ¶
func StreamTracing() grpc.StreamClientInterceptor
func Tracing ¶
func Tracing() grpc.UnaryClientInterceptor
Tracing emits a CLIENT-kind span and rpc.client.duration per call. Provider comes from ctx (ProviderFromContext → Noop fallback).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.