Documentation ¶
Index ¶
- func ProcessAsset(URL string) *tasks.Chain
- func ProcessAudio() *tasks.Signature
- func ProcessImage() *tasks.Group
- type Tasker
- func (t *Tasker) Close()
- func (t *Tasker) Download(url string) ([]byte, error)
- func (t *Tasker) DownloadFile(url string) (string, error)
- func (t Tasker) Extract(url, assetID string) error
- func (t Tasker) ImageAnalysis(url, assetID string) error
- func (t Tasker) ImageCreation(url, assetID string, w, h int) error
- func (t Tasker) Soundwave(url, assetID string) error
- func (t Tasker) Upload(URL string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessAsset ¶
func ProcessAudio ¶
func ProcessImage ¶
Types ¶
type Tasker ¶
type Tasker struct {
// contains filtered or unexported fields
}
func (Tasker) Extract ¶
The Extract task will take the media from its uploaded location, and the content type from its original source, and extract metadata from the file. Determining the assets kind and any additional meta data from the file.
func (Tasker) ImageAnalysis ¶
The ImageAnalysis task will take an image file and run image analysis work to use as metadata
func (Tasker) ImageCreation ¶
The ImageCreation task will create a new image from the asset, upload it, and attach it as a format on the asset
Click to show internal directories.
Click to hide internal directories.