Documentation ¶
Overview ¶
Package rpctimeout implements logic for timeout controlling. Deprecated: the timeout function is a built-in function of clients. This package is no longger needed.
Index ¶
Constants ¶
View Source
const TimeoutAdjustKey timeoutAdjustKeyType = 1
TimeoutAdjustKey is used to adjust the timeout of RPC timeout middleware. Deprecated: this value is kept for historical reason and compatibility. It should not be used any more.
Variables ¶
This section is empty.
Functions ¶
func MiddlewareBuilder ¶
func MiddlewareBuilder(moreTimeout time.Duration) endpoint.MiddlewareBuilder
MiddlewareBuilder builds timeout middleware. Deprecated: this method is kept for historical reason and compatibility. It should not be used any more.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.