[#64] object: move package from neofs-api-go

Also, remove deprecated method.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2021-11-08 13:04:45 +03:00 committed by Alex Vanin
parent bdb99877f6
commit 39d3317ef6
28 changed files with 3268 additions and 0 deletions

View file

@ -0,0 +1,19 @@
package object
const (
// AttributeName is an attribute key that is commonly used to denote
// human-friendly name.
AttributeName = "Name"
// AttributeFileName is an attribute key that is commonly used to denote
// file name to be associated with the object on saving.
AttributeFileName = "FileName"
// AttributeTimestamp is an attribute key that is commonly used to denote
// user-defined local time of object creation in Unix Timestamp format.
AttributeTimestamp = "Timestamp"
// AttributeTimestamp is an attribute key that is commonly used to denote
// MIME Content Type of object's payload.
AttributeContentType = "Content-Type"
)