Documentation ¶
Overview ¶
Package timeout implements a timeout error after the given duration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(timeout time.Duration) grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptor that returns a grpc error from context error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.