s3datastore

package
v0.4.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidType = errors.New("s3 datastore: invalid type error")

Functions

This section is empty.

Types

type S3Datastore

type S3Datastore struct {
	Client *s3.S3
	Bucket string
	ACL    s3.ACL
}

func (*S3Datastore) Batch

func (ds *S3Datastore) Batch() (datastore.Batch, error)

func (*S3Datastore) Close

func (ds *S3Datastore) Close() error

func (*S3Datastore) Delete

func (ds *S3Datastore) Delete(key datastore.Key) (err error)

func (*S3Datastore) Get

func (ds *S3Datastore) Get(key datastore.Key) (value interface{}, err error)

func (*S3Datastore) Has

func (ds *S3Datastore) Has(key datastore.Key) (exists bool, err error)

func (*S3Datastore) IsThreadSafe

func (ds *S3Datastore) IsThreadSafe()

func (*S3Datastore) Put

func (ds *S3Datastore) Put(key datastore.Key, value interface{}) (err error)

func (*S3Datastore) Query

func (ds *S3Datastore) Query(q query.Query) (query.Results, error)

Jump to

Keyboard shortcuts

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