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

# Functions

ExitOnErr prints error and exits with a code depending on the error type 0 if nil 1 if [sdkstatus.ErrServerInternal] or untyped 2 if [sdkstatus.ErrObjectAccessDenied] 3 if [ErrAwaitTimeout].
ParseEpoch parses epoch argument.
PrettyPrintJSON prints m as an indented JSON to the cmd output.
PrettyPrintUnixTime interprets s as unix timestamp and prints it as a date.
PrintChecksum prints checksum.
PrintVerbose prints to the stdout if the commonflags.Verbose flag is on.
ReadBearerToken reads bearer token from the path provided in a specified flag.
ReadBinaryOrJSON reads file data using provided path and decodes BinaryOrJSON from the data.
ReadEACL reads extended ACL table from eaclPath.

# Variables

ErrAwaitTimeout represents the expiration of a polling interval while awaiting a certain condition.

# Interfaces

BinaryOrJSON is an interface of entities which provide json.Unmarshaler and NeoFS binary decoder.