frostfs-api-go-pogpp/pkg/container
Leonard Lyubich 37b415347d [#283] pkg/token: Replace SessionToken into a session package
There is a need to add session token to `eacl.Table` structure. To do this,
we need to replace `token.SessionToken` type to another package since `eacl`
package imports `token` one (potential cross-import).

Create `pkg/session` package and replace session token implementation to it.
Related API in `container` package is deprecated from now.

Additionally implement test generator of random session tokens.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-26 12:24:58 +03:00
..
id [#283] pkg/container: Define ID in a separate package 2021-05-26 12:24:58 +03:00
announcement.go [#253] container: Implement marshalers on UsedSpaceAnnouncement structure 2021-02-11 15:04:13 +03:00
announcement_test.go [#253] container: Implement marshalers on UsedSpaceAnnouncement structure 2021-02-11 15:04:13 +03:00
attribute.go [#193] pkg/container: Wrap container structure with SDK functions 2020-11-13 12:28:00 +03:00
attribute_test.go [#193] pkg/container: Increase test coverage 2020-11-13 12:28:00 +03:00
container.go [#283] pkg/token: Replace SessionToken into a session package 2021-05-26 12:24:58 +03:00
container_test.go [#283] pkg/container: Add session token and signature to Container 2021-05-26 12:24:58 +03:00
fmt.go [#277] go.mod: remove pkg/errors 2021-05-19 11:14:56 +03:00
fmt_test.go [#194] pkg/container: Implement container constructor with format check 2020-12-24 12:54:53 +03:00
id.go [#283] pkg/container: Define ID in a separate package 2021-05-26 12:24:58 +03:00
opts.go [#199] sdk/container: Correct linter's remarks 2020-11-16 18:51:14 +03:00
wellknown_attributes.go [#172] Improve the readability of named attribute constants 2020-10-22 19:15:45 +03:00