frostfs-sdk-go/pool
Leonard Lyubich 737e690482 [#299] pool: Do not use pointers to the resulting values
In previous implementation `pool` package provided access to resulting
values 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 values in result getters. This also reduces
reference counter load and allows values from `client.Client` to be
forwarded directly without additional assignment.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-08-16 15:31:57 +04: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 [#299] pool: Do not use pointers to the resulting values 2022-08-16 15:31:57 +04:00
pool.go [#299] pool: Do not use pointers to the resulting values 2022-08-16 15:31:57 +04: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 [#299] pool: Do not use pointers to the resulting values 2022-08-16 15:31:57 +04:00
statistic.go [#283] pool: Store methods status in slice 2022-07-22 15:57:37 +03:00