Documentation ¶
Index ¶
Constants ¶
View Source
const (
IsoTime = "2006-01-02T15:04:05"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlbumIndexKey ¶
type MediaData ¶
type MediaData struct { TablePk AlbumIndexKey Type string // Type is either PHOTO or VIDEO DateTime time.Time // DateTime time used in AlbumIndexKey Details MediaDetailsData // Details are other attributes from domain model, stored as it Filename string // Filename is the original filename for display purpose only ; physical filename is in MediaLocationData SignatureSize int SignatureHash string }
type MediaDetailsData ¶
type MediaDetailsData map[string]interface{}
MediaDetailsData is a sub-object ; not stored directly
type MediaLocationData ¶
type MediaLocationData struct { TablePk FolderName string // FolderName is where the media is physically located: its current album folder or previous album if the physical move haven't been flushed yet Filename string // Filename is the physical name of the image SignatureSize int SignatureHash string }
type MediaMoveOrderData ¶
type MediaMoveOrderData struct { TablePk // TablePk.PK is the same than the media, TablePk.SK is the transaction MoveTransaction string // MoveTransaction is a copy of TablePk.SK used by 'MoveOrder' index (thus, only orders are in the index, not transactions) DestinationFolder string // DestinationFolder is the folder name of the album to which media must be moved. }
type MediaMoveTransactionData ¶
type MediaMoveTransactionData struct { TablePk MoveTransactionStatus MediaMoveTransactionStatus // MoveTransactionStatus is false until all media to be moved have a MediaMoveOrderData created and their album updated }
type MediaMoveTransactionStatus ¶
type MediaMoveTransactionStatus string
Click to show internal directories.
Click to hide internal directories.