Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Timeout ¶
func Timeout(opts ...Option) grpc.UnaryClientInterceptor
Timeout is the interceptor that will add a timeout to the context of the request if it is not already set. The default timeout added is 10s. You can customize it by specifying WihtTimeout option.
Types ¶
Click to show internal directories.
Click to hide internal directories.