frostfs-node/cmd/neofs-cli/modules/util
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
..
convert.go [#1437] neofs-cli: Move util command to a separate package 2022-05-26 12:03:39 +03:00
convert_eacl.go [#1323] neofs-cli: Reuse JSON flag for multiple commands 2022-06-24 10:33:22 +03:00
keyer.go [#1854] cli: Unify help messages 2022-10-12 09:53:11 +03:00
locode.go [#1910] .golangci.yml: Add godot linker 2022-10-18 15:08:26 +03:00
locode_generate.go [#1854] cli: Unify help messages 2022-10-12 09:53:11 +03:00
locode_info.go [#1854] cli: Unify help messages 2022-10-12 09:53:11 +03:00
root.go [#1437] neofs-cli: Move util command to a separate package 2022-05-26 12:03:39 +03:00
sign.go [#1437] neofs-cli: Move util command to a separate package 2022-05-26 12:03:39 +03:00
sign_bearer.go [#1323] neofs-cli: Reuse JSON flag for multiple commands 2022-06-24 10:33:22 +03:00
sign_session.go [#1933] cli: Support binary sessions 2022-10-24 17:45:22 +03:00