rpctimeout

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 3 Imported by: 9

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL