Documentation
¶
Index ¶
- type CloudStorage
- type S3CloudStorage
- func (cloud S3CloudStorage) Get(path string, writer io.WriterAt) error
- func (cloud S3CloudStorage) GetKey(path string) string
- func (cloud S3CloudStorage) Put(path string, reader io.Reader) error
- func (cloud S3CloudStorage) Setup(bucket string, prefix string, test string, client string, secret string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStorage ¶
type CloudStorage interface { Put(path string, reader *io.ReadSeeker) error Get(path string, writer *io.WriteSeeker) error }
type S3CloudStorage ¶
type S3CloudStorage struct {
// contains filtered or unexported fields
}
func (S3CloudStorage) GetKey ¶
func (cloud S3CloudStorage) GetKey(path string) string
Click to show internal directories.
Click to hide internal directories.