Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeEmailDelivery = "email:deliver" TypeImageResize = "image:resize" )
A list of task types.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EmailDeliveryPayload ¶
type ImageProcessor ¶
type ImageProcessor struct { }
ImageProcessor implements asynq.Handler interface.
func NewImageProcessor ¶
func NewImageProcessor() *ImageProcessor
func (*ImageProcessor) ProcessTask ¶
type ImageResizePayload ¶
type ImageResizePayload struct {
SourceURL string
}
Click to show internal directories.
Click to hide internal directories.