aws

package
v0.0.0-...-e75800c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsS3

type AwsS3 struct {
	Region          string
	AccessKeyId     string
	AccessSecretKey string
}

func NewAwsS3

func NewAwsS3(region, accessKeyId, secretAccessKey string) *AwsS3

func (*AwsS3) Get

func (s *AwsS3) Get(path string) (file *os.File, err error)

func (*AwsS3) Move

func (s *AwsS3) Move(oldPath, newPath string) (location string, err error)

func (*AwsS3) Save

func (s *AwsS3) Save(path string, data io.Reader) (location string, err error)

Jump to

Keyboard shortcuts

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