Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Object ¶
type Object struct { // {Identity/Uri} Id string `json:"id" bson:"_id,omitempty"` ActivePublishId *primitive.ObjectID `json:"activePublishId" bson:"activePublishId,omitempty"` Identity string `json:"identity" bson:"identity"` SpaceId string `json:"spaceId" bson:"spaceId"` ObjectId string `json:"objectId" bson:"objectId"` Uri string `json:"uri" bson:"uri"` Timestamp int64 `json:"timestamp" bson:"timestamp"` }
type ObjectWithPublish ¶
type Publish ¶
type Publish struct { Id primitive.ObjectID `json:"id" bson:"_id,omitempty"` ObjectId string `json:"objectId" bson:"objectId"` Status PublishStatus `json:"status" bson:"status"` Version string `json:"version" bson:"version"` UploadKey string `json:"uploadKey" bson:"uploadKey"` Size int64 `json:"size" bson:"size"` }
type PublishStatus ¶
type PublishStatus uint8
const ( PublishStatusCreated PublishStatus = iota PublishStatusPublished PublishStatusReadyToDelete )
Click to show internal directories.
Click to hide internal directories.