handler

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManifestSession

type ManifestSession struct {
	FileTableName string
	TableName     string
	Client        *dynamodb.Client
	SNSClient     *sns.Client
	SNSTopic      string
}

func (ManifestSession) AddFiles

func (s ManifestSession) AddFiles(manifestId string, items []manifestFile.FileDTO) (*manifest.AddFilesStats, error)

addFiles manages the workers and defines the go routines to add files to manifest db.

func (ManifestSession) CreateManifest

func (s ManifestSession) CreateManifest(item dbTable.ManifestTable) error

createManifest creates a new Manifest in DynamoDB

Jump to

Keyboard shortcuts

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