Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectStore ¶
type ObjectStore interface { AddFile(bucket, fileName string, src io.Reader) (*UploadResult, error) AddImage(bucket, fileName string, src io.Reader) (*UploadResult, error) DeleteFile(bucket, fileName string) error DownloadFile(bucket, fileName string, file io.WriterAt) (int64, error) }
ObjectStore defines the object store interface
type UploadResult ¶
UploadResult defines the upload result
Click to show internal directories.
Click to hide internal directories.