frostfs-sdk-go/client
Leonard Lyubich 452a50e9d5 [#343] client: Accept context parameter in Dial
In previous implementation of `Client.Dial` there was no ability to
specify parent context (e.g. global application context).

Add `PrmDial.SetContext` method which accepts optional base dial
context. Use the context to open client connection or fall back to using
`context.Background()`.

Upgraded version of `github.com/nspcc-dev/neofs-api-go/v2` module
also fixes the problem when dial timeout didn't work properly.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-07 13:24:02 +03:00
..
status [#315] apistatus: Write default message in NodeUnderMaintenance.Error 2022-09-20 11:23:22 +04:00
accounting.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
api.go [#270] client/netmap: Cover NetMapSnapshot with unit tests 2022-09-22 10:51:07 +04:00
client.go [#343] client: Accept context parameter in Dial 2022-10-07 13:24:02 +03:00
client_test.go [#343] client: Accept context parameter in Dial 2022-10-07 13:24:02 +03:00
common.go [#323] client: Remove xheaders length check in a common helper 2022-08-26 17:34:27 +03:00
container.go [#323] client: Replace writeToMetaHeader method with function 2022-08-26 17:34:27 +03:00
doc.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
errors.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
errors_test.go [#307] status: Support EACL_NOT_FOUND status code 2022-08-01 19:57:07 +03:00
netmap.go [#270] client/netmap: Cover NetMapSnapshot with unit tests 2022-09-22 10:51:07 +04:00
netmap_test.go [#270] client/netmap: Cover NetMapSnapshot with unit tests 2022-09-22 10:51:07 +04:00
object_delete.go [#326] client: Provide pointers requests for signing 2022-08-29 14:45:50 +03:00
object_get.go [#334] client: Use parameter key in object.Get 2022-09-14 11:34:56 +04:00
object_hash.go [#326] client: Provide pointers requests for signing 2022-08-29 14:45:50 +03:00
object_put.go [#323] client: Remove xheaders length check in a common helper 2022-08-26 17:34:27 +03:00
object_search.go [#323] client: Remove xheaders length check in a common helper 2022-08-26 17:34:27 +03:00
object_search_test.go [#323] client: Refactor object.Search 2022-08-26 17:34:27 +03:00
reputation.go [#322] *: Go fmt -s 2022-08-24 18:58:59 +03:00
response.go [#137] pool: simplify session creation 2022-04-07 13:33:16 +03:00
session.go [#323] client: Remove initCallContextWithoutKey 2022-08-26 17:34:27 +03:00