handlers

package
v0.0.0-...-8945ad8 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleStream

func HandleStream(ctx context.Context, e events.DynamoDBEvent) error

func ProcessUpload

func ProcessUpload(ctx context.Context, s3Event events.S3Event) error

Types

type CompleteUploadRequest

type CompleteUploadRequest struct {
	FileID   string `json:"fileID"`
	UploadID string `json:"uploadId"`
	Parts    []Part `json:"parts"`
}

type Part

type Part struct {
	ETag       string `json:"ETag"`
	PartNumber int32  `json:"PartNumber"`
}

type UploadURLRequest

type UploadURLRequest struct {
	FileName  string `json:"fileName"`
	FileType  string `json:"fileType"`
	FileSize  int64  `json:"fileSize"`
	ChunkSize int64  `json:"chunkSize"`
}

Jump to

Keyboard shortcuts

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