Versions in this module Expand all Collapse all v0 v0.14.0 Dec 18, 2024 Changes in this version + type MediaRepository interface + InsertMedia func(ctx context.Context, txn *sql.Tx, mediaMetadata *types.MediaMetadata) error + SelectMedia func(ctx context.Context, txn *sql.Tx, mediaID types.MediaID, ...) (*types.MediaMetadata, error) + SelectMediaByHash func(ctx context.Context, txn *sql.Tx, mediaHash types.Base64Hash, ...) (*types.MediaMetadata, error) + type Thumbnails interface + InsertThumbnail func(ctx context.Context, txn *sql.Tx, thumbnailMetadata *types.ThumbnailMetadata) error + SelectThumbnail func(ctx context.Context, txn *sql.Tx, mediaID types.MediaID, ...) (*types.ThumbnailMetadata, error) + SelectThumbnails func(ctx context.Context, txn *sql.Tx, mediaID types.MediaID, ...) ([]*types.ThumbnailMetadata, error)