frostfs-sdk-go/client
Evgenii Stratonikov 99c5c58365
[#282] client: Close connection on non-nil error in Dial
A particular status code does not imply that a connection has not been
established. However, `Dial()` requires user to call `Close()` only if
the error was nil. Thus, it is `Dial()` responsibility to close
everything if it returns an error.

Introduced after the gRPC update in #270 (6009d089fc).

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-10-10 14:03:44 +03:00
..
status [#274] client/status: Add missing test cases for commom statuses 2024-10-03 17:05:15 +03:00
accounting.go [#190] sdk-go: Pass user.ID by value 2023-11-22 19:21:20 +03:00
apemanager_add_chain.go [#225] apemanager: Move apemanager to ape package 2024-05-31 12:14:42 +00:00
apemanager_list_chains.go [#275] client: Return status from all methods 2024-09-24 18:29:32 +03:00
apemanager_remove_chain.go [#225] apemanager: Move apemanager to ape package 2024-05-31 12:14:42 +00:00
api.go Rename package name 2023-03-07 15:47:21 +03:00
client.go [#282] client: Close connection on non-nil error in Dial 2024-10-10 14:03:44 +03:00
client_test.go [#189] client: Make PrmDial fields public 2023-11-14 11:18:00 +03:00
common.go [#243] go.mod: Update api-go 2024-07-26 14:13:49 +03:00
container.go [#48] client: Split container methods by files 2023-04-13 09:04:09 +03:00
container_delete.go [#189] client: Make PrmInit fields public for client 2023-11-13 15:18:07 +03:00
container_get.go [#206] Add session tokens for container read operations 2024-03-01 15:18:53 +03:00
container_list.go [#206] Add session tokens for container read operations 2024-03-01 15:18:53 +03:00
container_put.go [#189] client: Make PrmInit fields public for client 2023-11-13 15:18:07 +03:00
doc.go Rename package name 2023-03-07 15:47:21 +03:00
errors.go [#228] client: Move isClientErrMaintenance from node 2024-06-17 17:07:30 +03:00
errors_test.go [#228] client: Move isClientErrMaintenance from node 2024-06-17 17:07:30 +03:00
netmap.go [#275] client: Return status from all methods 2024-09-24 18:29:32 +03:00
netmap_test.go [#131] client: keep backwards-compatibility, update README.md, fix chore 2023-10-26 14:35:49 +00:00
object_delete.go [#275] client: Return status from all methods 2024-09-24 18:29:32 +03:00
object_get.go [#275] client: Return status from all methods 2024-09-24 18:29:32 +03:00
object_hash.go [#275] client: Return status from all methods 2024-09-24 18:29:32 +03:00
object_patch.go [#275] client: Return status from all methods 2024-09-24 18:29:32 +03:00
object_patch_test.go [#268] client: Make PayloadPatch correctly receive empty patch payload 2024-09-12 15:12:52 +03:00
object_put.go [#237] pool: Return creation epoch from object put 2024-07-22 06:15:23 +00:00
object_put_raw.go [#275] client: Return status from all methods 2024-09-24 18:29:32 +03:00
object_put_single.go [#275] client: Return status from all methods 2024-09-24 18:29:32 +03:00
object_put_transformer.go [#237] pool: Return creation epoch from object put 2024-07-22 06:15:23 +00:00
object_search.go [#189] client: Make PrmInit fields public for client 2023-11-13 15:18:07 +03:00
object_search_test.go Rename package name 2023-03-07 15:47:21 +03:00
response.go Rename package name 2023-03-07 15:47:21 +03:00
session.go [#189] client: Make PrmInit fields public for client 2023-11-13 15:18:07 +03:00