copy

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uploader

type Uploader struct {
	Client    s3manageriface.UploaderAPI
	S3Bucket  string
	S3SSEC    string
	S3SSECKey string
}

Uploader provides class to upload files to S3

func (*Uploader) AddFileToS3

func (u *Uploader) AddFileToS3(file walker.SrcDest) error

AddFileToS3 will upload a single file to S3, it will require a pre-built aws session and will set file info like content type and encryption on the uploaded file.

Jump to

Keyboard shortcuts

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