frostfs-node/cmd/neofs-cli/modules/session
Leonard Lyubich 8bba490c30 [#1933] cli: Support binary sessions
There is a need to support NeoFS-binary sessions along with JSON ones in
NeoFS CLI.

Provide generic `common.ReadBinaryOrJSON` functions which tries to
decode NeoFS-binary structure and falls back to JSON format. Use this
function in all places with token reading.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-24 17:45:22 +03:00
..
create.go [#1854] cli: Unify help messages 2022-10-12 09:53:11 +03:00
root.go [#1216] neofs-cli: Allow to create and save session token 2022-04-25 10:47:43 +03:00