Documentation
¶
Overview ¶
Deprecated: This module is deprecated and will be removed in a future version. Please use the new module instead.
Index ¶
Constants ¶
View Source
const ( ContentStatusCreated = domain.ContentStatusCreated ContentStatusUploaded = domain.ContentStatusUploaded )
Content status constants
View Source
const ( ContentCategoryOriginal = "original" ContentCategoryThumbnail = "thumbnail" ContentDerivedDerivationTypeTHUMBNAIL720 = "THUMBNAIL_720" ContentDerivedDerivationTypeTHUMBNAIL480 = "THUMBNAIL_480" ContentDerivedDerivationTypeTHUMBNAIL256 = "THUMBNAIL_256" ContentDerivedDerivationTypeTHUMBNAIL128 = "THUMBNAIL_128" )
Content derivation type constants
View Source
const ( ObjectStatusCreated = domain.ObjectStatusCreated ObjectStatusUploading = domain.ObjectStatusUploading ObjectStatusUploaded = domain.ObjectStatusUploaded ObjectStatusProcessing = domain.ObjectStatusProcessing ObjectStatusProcessed = domain.ObjectStatusProcessed ObjectStatusFailed = domain.ObjectStatusFailed ObjectStatusDeleted = domain.ObjectStatusDeleted )
Object status constants
View Source
const ( ContentStorageTypeS3 = "s3" ContentStorageTypeMinio = "minio" )
View Source
const ( MimeTypeWordDocx = "application/vnd.openxmlformats-officedocument.wordprocessingml.document" MimeTypeWordDoc = "application/msword" MimeTypeWordDotx = "application/vnd.openxmlformats-officedocument.wordprocessingml.template" MimeTypeWordDot = "application/vnd.ms-word.document.macroEnabled.12" MimeTypeWordXLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" MimeTypeWordXLS = "application/vnd.ms-excel" MimeTypeWordXLSM = "application/vnd.ms-excel.sheet.macroEnabled.12" MimeTypeWordXLTX = "application/vnd.openxmlformats-officedocument.spreadsheetml.template" MimeTypeWordPPT = "application/vnd.ms-powerpoint" MimeTypeWordPPTX = "application/vnd.openxmlformats-officedocument.presentationml.presentation" MimeTypeWordPPTM = "application/vnd.ms-powerpoint.presentation.macroEnabled.12" MimeTypeWordPOTX = "application/vnd.openxmlformats-officedocument.presentationml.template" MimeTypeWordPPSX = "application/vnd.openxmlformats-officedocument.presentationml.slideshow" )
Variables ¶
View Source
var MicrosoftMimeTypeMap = map[string]string{ MimeTypeWordDocx: "docx", MimeTypeWordDoc: "doc", MimeTypeWordDotx: "dotx", MimeTypeWordDot: "dot", MimeTypeWordPPTX: "pptx", MimeTypeWordXLSX: "xlsx", MimeTypeWordXLS: "xls", MimeTypeWordXLSM: "xlsm", MimeTypeWordXLTX: "xltx", MimeTypeWordPPT: "ppt", MimeTypeWordPPTM: "pptm", MimeTypeWordPOTX: "potx", MimeTypeWordPPSX: "ppsx", }
Functions ¶
This section is empty.
Types ¶
type ContentMetadata ¶
type ContentMetadata = domain.ContentMetadata
ContentMetadata represents metadata for a content
type ListDerivedContentParams ¶ added in v0.0.5
type ListDerivedContentParams = repository.ListDerivedContentParams
ListDerivedContentParams represents parameters for listing derived content
type ObjectMeta ¶ added in v0.0.5
type ObjectMeta = storage.ObjectMeta
ObjectMeta represents metadata about an object
type ObjectMetadata ¶
type ObjectMetadata = domain.ObjectMetadata
ObjectMetadata represents metadata about an object
type ObjectPreview ¶
type ObjectPreview = domain.ObjectPreview
ObjectPreview represents a preview generated from an object
type StorageBackend ¶
type StorageBackend = domain.StorageBackend
StorageBackend represents a configurable storage backend
type UploadObjectParams ¶ added in v0.0.16
type UploadObjectParams = storage.UploadParams
type UploadS3ObjectParams ¶ added in v0.0.12
type UploadS3ObjectParams = storage.UploadParams
Click to show internal directories.
Click to hide internal directories.