asyncjobadapter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: AGPL-3.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

View Source
const (
	DefaultImagesPerMessage = 16
)

Variables

This section is empty.

Functions

func New

func New(sess *session.Session, 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