activities

package
v0.0.0-...-830ec15 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activities

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

func New

func (*Activities) CopyImageActivity

func (a *Activities) CopyImageActivity(ctx context.Context, imageID string) error

CopyImageActivity is a Temporal activity that copies an image from the uploads location to the working location.

func (*Activities) GrayscaleImageActivity

func (a *Activities) GrayscaleImageActivity(ctx context.Context, imageID string) error

GrayscaleImageActivity is a Temporal activity that converts a working image to black and white.

type ActivitiesParams

type ActivitiesParams struct {
	Logger *zap.Logger
	Config *Config
}

type Config

type Config struct {
	UploadDir    string
	WorkingDir   string
	ProcessedDir string
}

Jump to

Keyboard shortcuts

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