paws

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 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 Session

type Session struct {
	*session.Session
}

func NewSession

func NewSession() Session

func (Session) DeleteObjects

func (sess Session) DeleteObjects(bucket, prefix string, keys []string) error

func (Session) EnumerateObjects

func (sess Session) EnumerateObjects(bucket string, prefix string, iter func(o *s3.Object)) error

func (Session) GetObject

func (sess Session) GetObject(bucket, prefix, key string) (*io.ReadCloser, error)

func (Session) UploadObject

func (sess Session) UploadObject(bucket, prefix, key string, r io.Reader) error

Jump to

Keyboard shortcuts

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