frostfs-sdk-go/client
Leonard Lyubich 4e31b4f231 [#299] client: Do not use pointers to required response fields
In previous implementation `client` package provided access to nested
response fields as pointers to them. This caused clients to handle nil
cases even when the field presence in the response is required.

Avoid returning pointers to required fields in response getters. This
also reduces reference counter load and allows fields to be decoded
directly without additional assignment.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-08-08 12:55:25 +03:00
..
status [#307] status: Support EACL_NOT_FOUND status code 2022-08-01 19:57:07 +03:00
accounting.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
client.go [#164] Do not return rpc.Balance error in Dial 2022-03-14 13:04:49 +03:00
common.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
container.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
doc.go [#164] client: Refactor and document package functionality 2022-03-10 15:02:10 +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 [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
object_delete.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
object_get.go [#282] apistatus: Support OUT_OF_RANGE error 2022-07-05 11:53:29 +03:00
object_hash.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
object_put.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
object_search.go [#197] session: Refactor and document the package 2022-04-27 11:09:29 +03:00
object_search_test.go [#170] oid, cid: Refactor and document package functionality 2022-04-13 17:32:25 +03:00
reputation.go [#222] client: Fix docs of resolving the failure statuses 2022-07-05 11:43:38 +03:00
response.go [#137] pool: simplify session creation 2022-04-07 13:33:16 +03:00
session.go [#222] client: Fix docs of resolving the failure statuses 2022-07-05 11:43:38 +03:00