forked from TrueCloudLab/frostfs-sdk-go
[#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:
parent
bdb99877f6
commit
39d3317ef6
28 changed files with 3268 additions and 0 deletions
19
object/wellknown_attributes.go
Normal file
19
object/wellknown_attributes.go
Normal 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"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue