Documentation ¶
Index ¶
- func DeleteImage(imageFilePath string) error
- func ExportToJSON(subjectType string, limit int) error
- func ExportToJSONAPI(subjectType string, limit, offset int) ([]byte, error)
- func FetchMediaInfo(subjectType, subjectID, apiTarget, externalURL string) (models.Subject, error)
- func ImportFromJSON(importType, filePath string, downloadImage bool) error
- func MoveDownloadedImage(subjectTypeOld, subjectTypeNew, uuidStr string)
- func MovePreDownloadedImage(subjectType, externalURL, uuidStr string)
- func PreDownloadImage(imageURL, externalURL string)
- func PreDownloadImageName(externalURL string) (string, error)
- func SaveImage(imageURL, imageFilePath string, interval bool) error
- func SaveUploadedFile(file multipart.File, path 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 ImportFromJSON ¶
func MoveDownloadedImage ¶
func MoveDownloadedImage(subjectTypeOld, subjectTypeNew, uuidStr string)
func MovePreDownloadedImage ¶
func MovePreDownloadedImage(subjectType, externalURL, uuidStr string)
func PreDownloadImage ¶
func PreDownloadImage(imageURL, externalURL string)
func PreDownloadImageName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.