s3

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 License: MPL-2.0 Imports: 9 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(_ context.Context, key string, w blob.Writer) error

func (*Session) LatestKey

func (s *Session) LatestKey(_ context.Context) (string, error)

func (*Session) Upload

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

Jump to

Keyboard shortcuts

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