s3

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(options ...Option) (*Client, error)

func (*Client) NewReader

func (x *Client) NewReader(ctx context.Context, region, bucket, key string) (io.ReadCloser, error)

func (*Client) NewWriter

func (x *Client) NewWriter(ctx context.Context, region, bucket, key string) (io.WriteCloser, error)

type Option

type Option func(*Client)

func WithCredentials

func WithCredentials(cred aws.CredentialsProvider) Option

Jump to

Keyboard shortcuts

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