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

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
GlobalizeCommonFail globalizes the Code to the common fail section.
GlobalizeSuccess globalizes the Code to the success section.
IsCommonFail checks if the Code is a common failure code.
IsInSection returns true if the Code belongs to sec-th section.
IsSuccess checks if the Code is a success code.
LocalizeCommonFail localizes the Code to the common fail section.
LocalizeIfInSection checks if passed global status.Code belongs to the section and: then localizes the code and returns true, else leaves the code unchanged and returns false.
LocalizeSuccess localizes the Code to the success section.
SetStatusDetails sets Detail list of the Status.

# Constants

DetailIDCorrectMagic is an identifier of details with correct network magic which can be attached to WrongMagicNumber code.
Internal is a local Code value for INTERNAL failure status.
NodeUnderMaintenance is a local Code value for NODE_UNDER_MAINTENANCE status.
OK is a local status Code value for default success.
SignatureVerificationFail is a local Code value for SIGNATURE_VERIFICATION_FAIL status.
WrongMagicNumber is a local Code value for WRONG_MAGIC_NUMBER failure status.

# Structs

Detail represents structure of NeoFS API V2-compatible status detail message.
Status represents structure of NeoFS API V2-compatible status return message.

# Type aliases

Code represents NeoFS API V2-compatible status code.