Versions in this module Expand all Collapse all v1 v1.7.1 Feb 5, 2021 Changes in this version + type S3 struct + func NewS3(endpoint, accessKeyID, secretAccessKey, bucketName, prefix, region string, ...) (*S3, error) + func (s *S3) GetObject(objectName string) (io.Reader, error) + func (s *S3) ListObjects(prefix string) ([]string, error) + func (s *S3) PutObject(name string, data io.Reader, size int64) error + type Storage interface + GetObject func(objectName string) (io.Reader, error) + ListObjects func(prefix string) ([]string, error) + PutObject func(name string, data io.Reader, size int64) error