frostfs-node/cmd/neofs-cli/internal/common
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
..
eacl.go [#1437] neofs-cli: Move util command to a separate package 2022-05-26 12:03:39 +03:00
epoch.go [#1461] cli: Reorganize common functions 2022-07-18 11:42:25 +03:00
exit.go [#1379] neofs-cli: Move exitOnErr to internal package 2022-05-20 13:20:34 +03:00
json.go [#1381] neofs-cli: Move JSON and verbose printing to a common package 2022-05-25 09:46:41 +03:00
netmap.go [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
token.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00
verbose.go [#1383] neofs-cli: move object command to a separate package 2022-06-16 09:27:07 +03:00