handlers

package
v0.0.0-...-552149a Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Handler

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

func InitS3Handler

func InitS3Handler(region, srcBucket, destBucket, metadataBucket, metadataObjectKey string) *S3Handler

func (S3Handler) GenerateAndStoreThumbnailForObjects

func (handler S3Handler) GenerateAndStoreThumbnailForObjects(objects []events.S3Object) ([]model.ObjectMetadata, error)

func (S3Handler) GetMetadata

func (handler S3Handler) GetMetadata(st, et int64) ([]model.ObjectMetadata, error)

func (S3Handler) UpdateMetadata

func (handler S3Handler) UpdateMetadata(metadata []model.ObjectMetadata) error

type SESHandler

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

func InitSESHandler

func InitSESHandler(region, sender, receiver string) *SESHandler

func (SESHandler) SendEmail

func (handler SESHandler) SendEmail(ctx context.Context, metadata []model.ObjectMetadata) error

Jump to

Keyboard shortcuts

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