package
0.43.0
Repository: https://github.com/nspcc-dev/neofs-node.git
Documentation: pkg.go.dev

# Functions

InitBearer adds bearer token flag to a command.
OpenSession opens client connection and calls OpenSessionViaClient with it.
OpenSessionViaClient opens object session with the remote node, finalizes structure of the session token and writes the result into the provided SessionPrm.
Prepare prepares object-related parameters for a command.
ReadOrOpenSession opens client connection and calls ReadOrOpenSessionViaClient with it.
ReadOrOpenSessionViaClient tries to read session from the file specified in commonflags.SessionToken flag, finalizes structures of the decoded token and write the result into provided SessionPrm.

# Variables

Cmd represents the object command.

# Interfaces

No description provided by the author
SessionPrm is a common interface of object operation's input which supports sessions.