frostfs-api-go/pkg/session
Leonard Lyubich 6cd3497388 [#283] pkg/session: Implement work with token contexts
Implement `Context` / `SetContext` methods on `Token` which reads / sets
token context. Support container context (`ContainerContext`).

Add helper function `GetContainerContext` for easy reading of the container
context.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-28 16:32:02 +03:00
..
test [#283] pkg/session: Add container context generator 2021-05-28 16:32:02 +03:00
container.go [#283] pkg/session: Implement container session context 2021-05-28 16:32:02 +03:00
container_test.go [#283] pkg/session: Implement container session context 2021-05-28 16:32:02 +03:00
session.go [#283] pkg/session: Implement work with token contexts 2021-05-28 16:32:02 +03:00
session_test.go [#283] pkg/session: Implement work with token contexts 2021-05-28 16:32:02 +03:00