[#1746] network: Set timeout for streaming operations
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
0140ac354b
commit
4354359aed
11 changed files with 38 additions and 11 deletions
1
pkg/network/cache/client.go
vendored
1
pkg/network/cache/client.go
vendored
|
@ -20,6 +20,7 @@ type (
|
|||
|
||||
ClientCacheOpts struct {
|
||||
DialTimeout time.Duration
|
||||
StreamTimeout time.Duration
|
||||
Key *ecdsa.PrivateKey
|
||||
ResponseCallback func(client.ResponseMetaInfo) error
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue