Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpDownloader ¶
type HttpDownloader struct {
// contains filtered or unexported fields
}
func NewHttpDownloader ¶
func (*HttpDownloader) DownloadFileAt ¶
func (h *HttpDownloader) DownloadFileAt(index int, destination *os.File) (err error)
type HttpUploader ¶
type HttpUploader struct {
// contains filtered or unexported fields
}
func NewHttpUploader ¶
func NewHttpUploader(httpClient *http.Client, baseURL string) *HttpUploader
func (*HttpUploader) UploadFilesFrom ¶
func (h *HttpUploader) UploadFilesFrom(filePaths []string) ( uploadedFiles []types.UploadedFile, merkleRoot string, err error, )
Click to show internal directories.
Click to hide internal directories.