Documentation
¶
Index ¶
- type ProgressCallback
- type ReaderWithProgress
- type WebDAVClient
- func (client *WebDAVClient) DownloadFile(sourceEntry *irodsclient_fs.Entry, localPath string, verifyChecksum bool, ...) (*irodsclient_fs.FileTransferResult, error)
- func (client *WebDAVClient) UploadFile(localPath string, irodsPath string, verifyChecksum bool, ...) (*irodsclient_fs.FileTransferResult, error)
- type WriterWithProgress
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressCallback ¶
type ProgressCallback func(writeSize int)
type ReaderWithProgress ¶
type ReaderWithProgress struct {
// contains filtered or unexported fields
}
func NewReaderWithProgress ¶
func NewReaderWithProgress(baseReader io.ReadCloser, callback ProgressCallback) *ReaderWithProgress
func (*ReaderWithProgress) Close ¶
func (r *ReaderWithProgress) Close() error
type WebDAVClient ¶
type WebDAVClient struct {
// contains filtered or unexported fields
}
func NewWebDAVClient ¶
func NewWebDAVClient(filesystem *irodsclient_fs.FileSystem, baseURL string, username string, password string) *WebDAVClient
func (*WebDAVClient) DownloadFile ¶
func (client *WebDAVClient) DownloadFile(sourceEntry *irodsclient_fs.Entry, localPath string, verifyChecksum bool, callback irodsclient_common.TransferTrackerCallback) (*irodsclient_fs.FileTransferResult, error)
func (*WebDAVClient) UploadFile ¶
func (client *WebDAVClient) UploadFile(localPath string, irodsPath string, verifyChecksum bool, callback irodsclient_common.TransferTrackerCallback) (*irodsclient_fs.FileTransferResult, error)
type WriterWithProgress ¶
type WriterWithProgress struct {
// contains filtered or unexported fields
}
func NewWriterWithProgress ¶
func NewWriterWithProgress(baseWriter io.WriteCloser, callback ProgressCallback) *WriterWithProgress
func (*WriterWithProgress) Close ¶
func (w *WriterWithProgress) Close() error
Click to show internal directories.
Click to hide internal directories.