frostfs-api-go/rpc/client
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
..
call_options.go [#419] rpc/client: Use provided context for client dial 2022-10-05 13:35:43 +04:00
client.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
conn.go [#196] rpc/client: Implement Client.Conn method 2021-05-31 10:13:00 +03:00
connect.go [#419] rpc/client: Use provided context for client dial 2022-10-05 13:35:43 +04:00
flows.go Add v2 version to go module name 2021-11-17 15:29:33 +03:00
init.go [#419] rpc/client: Use provided context for client dial 2022-10-05 13:35:43 +04:00
options.go [#383] rpc/client: Export URI-parsing function 2022-03-10 19:16:42 +03:00
options_test.go [#290] client: Add WithURIAddress option 2021-06-02 15:55:20 +03:00