frostfs-node/cmd/neofs-cli/modules/storagegroup
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
..
delete.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
get.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
list.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
put.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
root.go [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
util.go [#1402] cli: Add cid flag constant 2022-07-06 09:56:26 +03:00