s3

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.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 AWSCreds

type AWSCreds struct {
	AccessKeyID  string
	AccessSecret string
	SessionToken string
}

AWSCreds groups AWS related credential values together.

type Downloader

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

Downloader is a downloader capable of downloading S3 Objects.

func NewDownloader

func NewDownloader(region, bucket, key, version string, creds *AWSCreds) *Downloader

func (*Downloader) Download

func (s *Downloader) Download(w io.WriterAt) error

Jump to

Keyboard shortcuts

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