Versions in this module Expand all Collapse all v1 v1.0.0 Dec 31, 2021 Changes in this version + type LocalStorage struct + Path string + Permissions *int + func NewLocalStorage(path string) *LocalStorage + func (d LocalStorage) Delete(key string) error + func (d LocalStorage) Exists(key string) (bool, error) + func (d LocalStorage) List() ([]string, error) + func (d LocalStorage) Read(key string) (io.Reader, error) + func (d LocalStorage) Write(key string, value io.Reader) error + type S3 struct + Bucket string + PathPrefix string + func NewS3(bucket, pathPrefix string, conn *s3.S3, session *session.Session) *S3 + func NewS3FromConfig(config S3Config) (*S3, error) + func (s3def S3) Delete(key string) error + func (s3def S3) Exists(key string) (bool, error) + func (s3def S3) List() ([]string, error) + func (s3def S3) Read(key string) (io.Reader, error) + func (s3def S3) Write(key string, value io.Reader) error + type S3Config struct + AccessKeyID string + Bucket string + DisableSSL bool + Endpoint string + PathPrefix string + Region string + SecretAccessKey string