Documentation ¶
Index ¶
- func NewSession() (*aws_session.Session, error)
- func S3Download(session *aws_session.Session, bucket, key string) ([]byte, error)
- func S3GetLatestKey(session *aws_session.Session, bucket string, prefix string) (*string, error)
- func S3Upload(session *aws_session.Session, bucket, key string, data []byte) error
- type S3BlobStorage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSession ¶
func NewSession() (*aws_session.Session, error)
func S3Download ¶
func S3Download(session *aws_session.Session, bucket, key string) ([]byte, error)
func S3GetLatestKey ¶
Types ¶
type S3BlobStorage ¶
type S3BlobStorage struct {
// contains filtered or unexported fields
}
func NewS3BlobStorage ¶
func NewS3BlobStorage(bucket string) (*S3BlobStorage, error)
func (*S3BlobStorage) GetLatestKey ¶
func (bs *S3BlobStorage) GetLatestKey(prefix string) (*string, error)
Click to show internal directories.
Click to hide internal directories.