frostfs-api-go/pkg/session
Pavel Karpy 707776976a [#302] pkg/session: Convert nil Token to nil message
Document that `Token.ToV2` method return `nil`
when called on `nil`. Document that `NewTokenFromV2`
function return `nil` when called on `nil`. Write
corresponding unit tests.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2021-06-09 17:23:35 +03:00
..
test [#298] pkg/session/test: Set lifetime fields in Generate func 2021-06-07 13:26:59 +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 [#302] pkg/session: Convert nil Token to nil message 2021-06-09 17:23:35 +03:00
session_test.go [#302] pkg/session: Convert nil Token to nil message 2021-06-09 17:23:35 +03:00