s3

package
v0.0.0-...-4a03591 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bucket

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

func NewBucket

func NewBucket(client Client, name string) *Bucket

func (*Bucket) NewReader

func (b *Bucket) NewReader(ctx context.Context, key string) (io.ReadCloser, error)

func (*Bucket) NewWriter

func (b *Bucket) NewWriter(ctx context.Context, key string) io.WriteCloser

type Client

type Client interface {
	s3iface.S3API
	s3manageriface.UploaderAPI
}

type S3

type S3 struct {
	*awss3.S3
	*s3manager.Uploader
}

func New

func New(p client.ConfigProvider, cfgs ...*aws.Config) *S3

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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