s3

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object = s3.Object

type Session

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

func NewSession

func NewSession(endpoint, region, bucket, accessKeyID, secretKey string) (*Session, error)

func (*Session) Download

func (s *Session) Download(w io.WriterAt, key string) error

func (*Session) LatestKey

func (s *Session) LatestKey() (string, error)

func (*Session) List

func (s *Session) List(fn func(*Object) bool) error

func (*Session) Upload

func (s *Session) Upload(r io.Reader, key string) error

Jump to

Keyboard shortcuts

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