frostfs-node/cmd/neofs-cli
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
..
internal [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
modules [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
main.go cli: Add empty neofs-cli app structure 2020-10-02 11:25:35 +03:00