asyncjobadapter

package
v1.5.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: AGPL-3.0 Imports: 11 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DefaultImagesPerMessage = 16
)

Variables

This section is empty.

Functions

func New

func New(cfg aws.Config, topicARN string, queueURL string, imagesPerMessage int) archive.AsyncJobAdapter

Types

type ImageToResizeMessageV1

type ImageToResizeMessageV1 struct {
	Owner    string `json:"owner"`
	MediaId  string `json:"mediaId"`
	StoreKey string `json:"storeKey"`
	Widths   []int  `json:"widths"`
}

type WarmUpCacheByFolderMessageV1

type WarmUpCacheByFolderMessageV1 struct {
	Owner          string `json:"owner"`
	MissedStoreKey string `json:"missedStoreKey"`
	Width          int    `json:"width"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL