s3bucket

package
v0.0.0-...-360e35e Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryBucket

type BinaryBucket interface {
	Download(key *string) ([]byte, error)
}

type HexKeyProvider

type HexKeyProvider struct{}

func NewHexKeyProvider

func NewHexKeyProvider() *HexKeyProvider

func (HexKeyProvider) CreateKeyFor

func (HexKeyProvider) CreateKeyFor(symbol string) *string

type S3BinaryBucket

type S3BinaryBucket struct {
	// contains filtered or unexported fields
}

func NewS3BinaryBucket

func NewS3BinaryBucket(downloader *s3manager.Downloader, keyProvider S3KeyProvider, bucketName *string) *S3BinaryBucket

func (*S3BinaryBucket) Download

func (binaryBucket *S3BinaryBucket) Download(key *string) ([]byte, error)

type S3KeyProvider

type S3KeyProvider interface {
	CreateKeyFor(symbol string) *string
}

Jump to

Keyboard shortcuts

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