s3datastore

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2015 License: MIT Imports: 4 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
}

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