s3

package
v0.0.0-...-eb6b089 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(cfg *config.Config) (storage.Storage, error)

Types

type Client

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

func (*Client) CreateBucket

func (s3c *Client) CreateBucket(bucketName string) error

func (*Client) Get

func (s3c *Client) Get(filename string) (io.Reader, error)

func (*Client) Upload

func (s3c *Client) Upload(filename string, data []byte) error

Jump to

Keyboard shortcuts

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