s3

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBucket

func CreateBucket(config config.Config) error

func DeleteObject

func DeleteObject(config config.Config, key string) error

func GetObject

func GetObject(config config.Config, key string) ([]byte, error)

func ListBuckets

func ListBuckets(config config.Config) ([]string, error)

func ListObjects

func ListObjects(config config.Config, prefix string) ([]string, error)

func ObjectExists

func ObjectExists(config config.Config, key string) (bool, error)

func PutObject

func PutObject(config config.Config, key string, value []byte) error

Note: will overwrite existing objects if they already exist

func SetVersioning

func SetVersioning(config config.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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