aws

package
v0.0.0-...-2b2b6fc Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFile

func NewFile(ctx context.Context, bucketName, baseURL, cacheControl string) (gateway.File, error)

func NewTaskRunner

func NewTaskRunner(ctx context.Context, conf *TaskConfig) (gateway.TaskRunner, error)

Types

type TaskConfig

type TaskConfig struct {
	TopicARN    string
	WebhookARN  string
	NotifyToken string
}

type TaskRunner

type TaskRunner struct {
	// contains filtered or unexported fields
}

func (*TaskRunner) Retry

func (t *TaskRunner) Retry(ctx context.Context, id string) error

func (*TaskRunner) Run

func (t *TaskRunner) Run(ctx context.Context, p task.Payload) error

Run implements gateway.TaskRunner

Jump to

Keyboard shortcuts

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