frostfs-sdk-go/pool
Alex Vanin a86c08b3ee [#130] pool: Replace expiration value with expiration duration
Based on the applications that use pool, most of them simply
set session token duration to MaxUint64 value. It is completely
understandable, because epochs are incrementing and expiration
value will be surpassed sooner or later, unless it is MaxUint64.

As an alternative I suggest specifying duration instead of
absolute epoch values. Now apps can set duration of 100-200
epochs and pool automatically calculated expiration epoch
base on the network info.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-02-09 10:10:00 +03:00
..
cache.go [#38] Replace gcache with golang-lru 2021-11-15 14:04:06 +03:00
key.go [#26] *: Move pkg content to root 2021-07-28 13:47:27 +03:00
mock_test.go [#92] client: Accept structured parameters in non-object operations 2022-02-01 17:02:43 +03:00
pool.go [#130] pool: Replace expiration value with expiration duration 2022-02-09 10:10:00 +03:00
pool_test.go [#130] pool: Replace expiration value with expiration duration 2022-02-09 10:10:00 +03:00
sampler.go [#26] *: Move pkg content to root 2021-07-28 13:47:27 +03:00
sampler_test.go [#92] client: Accept structured parameters in non-object operations 2022-02-01 17:02:43 +03:00