frostfs-sdk-go/pool
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
..
cache.go [#197] session: Refactor and document the package 2022-04-27 11:09:29 +03:00
cache_test.go [#197] session: Refactor and document the package 2022-04-27 11:09:29 +03:00
doc.go [#165] pool: change exported fields to setters 2022-03-21 12:41:08 +03:00
mock_test.go [#283] pool: Store methods status in slice 2022-07-22 15:57:37 +03:00
pool.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
pool_test.go [#299] client: Do not use pointers to required response fields 2022-08-08 12:55:25 +03:00
sampler.go [#165] pool: make private inner structs 2022-03-21 12:41:08 +03:00
sampler_test.go [#283] pool: Store methods status in slice 2022-07-22 15:57:37 +03:00
statistic.go [#283] pool: Store methods status in slice 2022-07-22 15:57:37 +03:00