s3

package module
v3.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

micro-store-s3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessKey

func AccessKey(akey string) store.Option

AccessKey sets the AccessKey option

func ContentType

func ContentType(ct string) store.WriteOption

func DeleteBucket

func DeleteBucket(bucket string) store.DeleteOption

DeleteBucket sets the bucket name option

func Endpoint

func Endpoint(ep string) store.Option

Endpoint sets the endpoint option

func ExistsBucket

func ExistsBucket(bucket string) store.ExistsOption

ExistsBucket sets the bucket name option

func ListBucket

func ListBucket(bucket string) store.ListOption

ListBucket sets the bucket name option

func ListRecursive

func ListRecursive(b bool) store.ListOption

ListRecursive sets the bucket name option

func NewStore

func NewStore(opts ...store.Option) store.Store

NewStore create new s3 store

func ReadBucket

func ReadBucket(bucket string) store.ReadOption

ReadBucket sets the bucket name option

func Region

func Region(reg string) store.Option

Region sets the region option

func SecretKey

func SecretKey(skey string) store.Option

SecretKey sets the SecretKey option

func WriteBucket

func WriteBucket(bucket string) store.WriteOption

WriteBucket sets the bucket name option

func WriteSize

func WriteSize(size int64) store.WriteOption

WriteSize key values size hint

Types

This section is empty.

Jump to

Keyboard shortcuts

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