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

ContainerSessionVerbFromGRPCField converts gRPC-generated session.ContainerSessionContext_Verb to ContainerSessionVerb.
ContainerSessionVerbToGRPCField converts ContainerSessionVerb to gRPC-generated session.ContainerSessionContext_Verb.
GlobalizeFail globalizes local code of session failure.
LocalizeFailStatus checks if passed global status.Code is related to session failure and: then localizes the code and returns true, else leaves the code unchanged and returns false.
No description provided by the author
No description provided by the author
SetStatus sets status of the message which can carry ResponseMetaHeader.
No description provided by the author
No description provided by the author

# Constants

ContainerVerbDelete corresponds to DELETE enum value.
ContainerVerbPut corresponds to PUT enum value.
ContainerVerbSetEACL corresponds to SETEACL enum value.
ContainerVerbUnknown corresponds to VERB_UNSPECIFIED enum value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReservedXHeaderPrefix is a prefix of keys to "well-known" X-headers.
StatusTokenExpired is a local status.Code value for TOKEN_EXPIRED session failure.
StatusTokenNotFound is a local status.Code value for TOKEN_NOT_FOUND session failure.
XHeaderNetmapEpoch is a key to the reserved X-header that specifies netmap epoch to use for object placement calculation.
XHeaderNetmapLookupDepth is a key to the reserved X-header that limits how many past epochs back the node will can lookup.

# Structs

ContainerSessionContext represents structure of the NeoFS API v2 session.ContainerSessionContext message.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RequestHeaders represents common part of all NeoFS requests including headers.
No description provided by the author
No description provided by the author
ResponseHeaders represents common part of all NeoFS responses including headers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

ContainerSessionVerb represents NeoFS API v2 session.ContainerSessionContext.Verb enumeration.
No description provided by the author
Deprecated: use Token instead.
Deprecated: use TokenBody instead.
Deprecated: use TokenContext instead.