frostfs-api-go/rpc
Leonard Lyubich 3a91383f24 [#419] rpc/client: Use provided context for client dial
In previous implementation `Client` passed `context.Background()` to
`grpc.DialContext` function. This didn't allow to abort dial stage by
the given context.

Base dial context on the one provided with `WithContext` option. Fall
back to using `context.Background` if context is not specified.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-05 13:35:43 +04:00
..
client [#419] rpc/client: Use provided context for client dial 2022-10-05 13:35:43 +04:00
common Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
grpc [#393] rpc/grpc: Use `NewTimer` instead of `time.After` 2022-04-21 15:11:57 +03:00
message [#397] refs: Fix OIDs marshalling 2022-04-27 09:45:03 +03:00
accounting.go Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
common.go Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
container.go Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
netmap.go [#418] netmap: Support `NetmapService.NetmapSnapshot` RPC 2022-09-19 16:44:34 +04:00
object.go Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
reputation.go Add `v2` version to go module name 2021-11-17 15:29:33 +03:00
session.go Add `v2` version to go module name 2021-11-17 15:29:33 +03:00