[#172] sdk/object: Define well-known application attributes

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-10-22 18:41:49 +03:00 committed by Leonard Lyubich
parent 4357430e0f
commit 5494d3417f

View file

@ -0,0 +1,15 @@
package object
const (
// AttrName is an attribute key that is commonly used to denote
// human-friendly name.
AttrName = "Name"
// AttrFileName is an attribute key that is commonly used to denote
// file name to be associated with the object on saving.
AttrFileName = "FileName"
// AttrTimestamp is an attribute key that is commonly used to denote
// user-defined local time of object creation in Unix Timestamp format.
AttrTimestamp = "Timestamp"
)