awss3

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 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 AwsS3

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

func NewAwsS3

func NewAwsS3(options ...Option) *AwsS3

func (*AwsS3) GetPreSignClient added in v0.3.19

func (aws *AwsS3) GetPreSignClient() *s3.PresignClient

func (*AwsS3) Provide

func (aws *AwsS3) Provide(ctx context.Context) any

type Option

type Option func(*Options)

func WithAccessKey

func WithAccessKey(accessKey string) Option

func WithRegion

func WithRegion(region string) Option

func WithSecretKey

func WithSecretKey(secretKey string) Option

type Options

type Options struct {
	Region    string
	AccessKey string
	SecretKey string
}

Jump to

Keyboard shortcuts

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