forked from TrueCloudLab/frostfs-node
8bba490c30
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> |
||
---|---|---|
.. | ||
create.go | ||
delete.go | ||
get.go | ||
get_eacl.go | ||
list.go | ||
list_objects.go | ||
nodes.go | ||
root.go | ||
set_eacl.go | ||
util.go |