Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckpointPath ¶
CheckpointPath returns the on-disk path for an upload checkpoint.
func OptimalChunkSize ¶
OptimalChunkSize returns a recommended chunk size for the given file size.
Types ¶
type GenericDownloader ¶
type GenericDownloader struct {
Source transfer.ReadBackend
RetryStrategy transfer.RetryStrategy
}
type GenericUploader ¶
type GenericUploader struct {
Backend transfer.MultipartBackend
}
func (*GenericUploader) Upload ¶
func (u *GenericUploader) Upload(ctx context.Context, req transfer.TransferRequest, showProgress bool) error
Click to show internal directories.
Click to hide internal directories.