s3

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 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 S3

type S3 struct {
	Bucket          string
	Key             string
	Region          string `yaml:"region"`
	AccessKeyId     string `yaml:"access-key-id"`
	SecretAccessKey string `yaml:"secret-access-key"`
}

func NewS3

func NewS3(bucket, key, region, accessKeyId, secretAccessKey string) *S3

func (*S3) GetContent

func (s3 *S3) GetContent() ([]byte, error)

func (*S3) Save

func (s3 *S3) Save(reader io.Reader, pathGenerator storage.PathGeneratorFunc) error

Jump to

Keyboard shortcuts

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