bfss3

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(bucket string, cfg *Config) (bfs.Bucket, error)

New initiates an bfs.Bucket backed by S3.

Types

type Config

type Config struct {
	AWS    aws.Config // native AWS configuration
	Prefix string     // an optional path prefix
	ACL    string     // custom ACL, defaults to 'bucket-owner-full-control'
}

Config is passed to New to configure the S3 connection.

Jump to

Keyboard shortcuts

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