Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DropboxUploader ¶
type DropboxUploader struct {
// contains filtered or unexported fields
}
DropboxUploader uploads files to Dropbox.
func NewDropboxUploader ¶
func NewDropboxUploader(cfg config.DropboxConfig) (*DropboxUploader, error)
NewDropboxUploader loads tokens from disk and returns a ready uploader.
type Uploader ¶
Uploader uploads a local file to remote storage.
func NewUploader ¶
func NewUploader(cfg config.StorageConfig) (Uploader, error)
NewUploader creates an Uploader from the given storage config.
Click to show internal directories.
Click to hide internal directories.