storage

package module
v0.0.0-...-6e81732 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2014 License: BSD-3-Clause Imports: 2 Imported by: 0

README

Storage

Storage is a Go package that provides a single interface for Amazon S3 and Google Cloud Storage through the use of drivers that wrap the well known client libraries for these cloud storage services. There is also a disk-based driver for much simpler needs.

Installation

Install Storage using the go get command:

$ go get github.com/dynamic-group/storage

Install one (or more) adapters:

# Amazon S3
$ github.com/dynamic-group/storage/s3

# Google Cloud Storage
$ github.com/dynamic-group/storage/gcs

# Local Disk
$ github.com/dynamic-group/storage/disk

Documentation

Contributing

Contributions are welcome.

License

Storage is available under the BSD (3-Clause) License.

Documentation

Overview

Package storage provides a single interface for various cloud storage services through the use of drivers that wrap their well known client libraries.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(name, source string) (driver.Bucket, error)

Open opens a bucket specified by its driver name and a driver-specific source string.

func Register

func Register(name string, driver driver.Driver)

Register makes a database driver available by the provided name. If Register is called twice with the same name or if driver is nil, it panics.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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