Documentation ¶
Overview ¶
Package onlinestorage provides operations to the location where medias are backed-up.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3OnlineStorage ¶
type S3OnlineStorage struct {
// contains filtered or unexported fields
}
func Must ¶
func Must(storage *S3OnlineStorage, err error) *S3OnlineStorage
func NewS3OnlineStorage ¶
func NewS3OnlineStorage(bucketName string, sess *session.Session) (*S3OnlineStorage, error)
func (*S3OnlineStorage) UploadFile ¶
func (s *S3OnlineStorage) UploadFile(owner string, media backupmodel.ReadableMedia, folderName, filename string) (string, error)
Click to show internal directories.
Click to hide internal directories.