s3

package
v0.0.0-...-ed3454d Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MPL-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 API

type API interface {
	WriteFile(ctx context.Context, key, filePath string) error
	DestinationBucket() string
}

type S3Client

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

func NewS3Client

func NewS3Client(bucketName string) (*S3Client, error)

func (*S3Client) DestinationBucket

func (s *S3Client) DestinationBucket() string

func (*S3Client) WriteFile

func (s *S3Client) WriteFile(ctx context.Context, key, filePath string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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