Documentation ¶
Index ¶
- func StreamClientInterceptor(timeout time.Duration) grpc.StreamClientInterceptor
- func StreamServerInterceptor(timeout time.Duration) grpc.StreamServerInterceptor
- func UnaryClientInterceptor(timeout time.Duration) grpc.UnaryClientInterceptor
- func UnaryServerInterceptor(timeout time.Duration) grpc.UnaryServerInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamClientInterceptor ¶
func StreamClientInterceptor(timeout time.Duration) grpc.StreamClientInterceptor
StreamClientInterceptor returns a new streaming client interceptor with timeout limit of handle. take effect if timeout > 0
func StreamServerInterceptor ¶
func StreamServerInterceptor(timeout time.Duration) grpc.StreamServerInterceptor
StreamServerInterceptor returns a new stream server interceptors with timeout limit of handle. take effect if timeout > 0
func UnaryClientInterceptor ¶
func UnaryClientInterceptor(timeout time.Duration) grpc.UnaryClientInterceptor
UnaryClientInterceptor returns a new unary client interceptor with timeout limit of handle. take effect if timeout > 0
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(timeout time.Duration) grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptors with timeout limit of handle. take effect if timeout > 0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.