Documentation
¶
Index ¶
- func DeleteImage(subjectType, uuidStr string) error
- func ExportToJSON(subjectType string, limit int) error
- func ExportToJSONAPI(subjectType string, limit, offset, sortBy int) ([]byte, error)
- func FetchMediaInfo(subjectType, subjectID, apiTarget, externalURL string) (models.Subject, error)
- func GenerateThumbnail(subjectType, uuid string, force bool) error
- func GenerateThumbnailFlag()
- func ImportFromJSON(importType, filePath string, downloadImage bool) error
- func MoveImage(subjectTypeOld, subjectTypeNew, uuidStr string)
- func MovePreDownloadedImage(subjectType, externalURL, uuidStr string)
- func PreDownloadImage(imageURL, externalURL string)
- func PreDownloadImageName(externalURL string) (string, error)
- func SaveRemoteImage(imageURL, imageFilePath string, interval bool) error
- func SaveUploadedImage(file io.Reader, subjectType, uuidStr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteImage ¶
func ExportToJSON ¶
func ExportToJSONAPI ¶ added in v0.5.0
func FetchMediaInfo ¶
func GenerateThumbnail ¶ added in v0.6.2
func GenerateThumbnailFlag ¶ added in v0.6.2
func GenerateThumbnailFlag()
func ImportFromJSON ¶
func MovePreDownloadedImage ¶
func MovePreDownloadedImage(subjectType, externalURL, uuidStr string)
func PreDownloadImage ¶
func PreDownloadImage(imageURL, externalURL string)
func PreDownloadImageName ¶
func SaveRemoteImage ¶ added in v0.6.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.