Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImageOpenSaver ¶
ImageOpenSaver interface that can Open and Close images from a given backend:fs, s3, ...
func NewImageOpenSaver ¶
func NewImageOpenSaver(url *url.URL) (ImageOpenSaver, error)
NewImageOpenSaver return the relevant implementation of ImageOpenSaver based on the url.Scheme
type ThumbnailOpt ¶
type ThumbnailerMessage ¶
type ThumbnailerMessage struct { SrcImage string `json:"srcImage"` DeleteSrc bool `json:"deleteSrc",omitempty"` DstFolder string `json:"dstFolder"` Opts []ThumbnailOpt `json:"opts"` }
func (*ThumbnailerMessage) DeleteImage ¶
func (tm *ThumbnailerMessage) DeleteImage() error
func (*ThumbnailerMessage) GenerateThumbnails ¶
func (tm *ThumbnailerMessage) GenerateThumbnails(errChan chan error)
Click to show internal directories.
Click to hide internal directories.