onlinestorage

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

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) MoveFile

func (s *S3OnlineStorage) MoveFile(owner string, folderName string, filename string, destFolderName string) (string, error)

func (*S3OnlineStorage) UploadFile

func (s *S3OnlineStorage) UploadFile(owner string, media backupmodel.ReadableMedia, folderName, filename string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL