Documentation ¶
Index ¶
- type ImageStore
- type S3ImageStore
- func (s *S3ImageStore) GetReader(bucket, path string) (io.ReadCloser, error)
- func (s *S3ImageStore) Head(bucket, path string) (*http.Response, error)
- func (s *S3ImageStore) Put(bucket, path string, data []byte, content string) error
- func (s *S3ImageStore) PutReader(bucket, path string, data io.Reader, length int64, content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageStore ¶
type S3ImageStore ¶
type S3ImageStore struct {
// contains filtered or unexported fields
}
func NewS3Store ¶
func NewS3Store(conn *s3.S3) *S3ImageStore
func (*S3ImageStore) GetReader ¶
func (s *S3ImageStore) GetReader(bucket, path string) (io.ReadCloser, error)
func (*S3ImageStore) Head ¶
func (s *S3ImageStore) Head(bucket, path string) (*http.Response, error)
Click to show internal directories.
Click to hide internal directories.