storage

package
v0.0.0-...-0ad4d90 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 8 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 {
	Session *session.Session
	S3      *s3.S3
	Bucket  string
}

func Configure

func Configure(c config.ConfigStorage, name string) (*Client, error)

func Storage

func Storage(name string) *Client

func (*Client) DeleteObject

func (c *Client) DeleteObject(key string) error

func (*Client) ListObjects

func (c *Client) ListObjects() ([]string, error)

func (*Client) PutObject

func (c *Client) PutObject(key string, filepath string, private bool, length int64, contenttype string) error

Jump to

Keyboard shortcuts

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