upload

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrOpeningFile indicates an error opening a file to upload.
	ErrOpeningFile = errors.New("Error opening file")
)

Functions

This section is empty.

Types

type Uploader

type Uploader interface {
	Upload(files []model.FileInfo) error
}

Uploader specifies the interface for a report's FileInfo uploader.

func NewS3Uploader

func NewS3Uploader(uploadManager s3manageriface.UploaderAPI, log *log.Logger) Uploader

NewS3Uploader builds and returns a new uploader for AWS S3.

Jump to

Keyboard shortcuts

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