Help us shape the future of Go! Take the 2026 Go Developer Survey

webdav

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

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

func (*ReaderWithProgress) Read

func (r *ReaderWithProgress) Read(p []byte) (n int, err 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, error)

func (*WebDAVClient) DownloadFile

func (client *WebDAVClient) DownloadFile(sourceEntry *irodsclient_fs.Entry, localPath string, ticket string, verifyChecksum bool, callback irodsclient_common.TransferTrackerCallback) (*irodsclient_fs.FileTransferResult, error)

func (*WebDAVClient) UploadFile

func (client *WebDAVClient) UploadFile(localPath string, irodsPath string, ticket 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

func (*WriterWithProgress) Write

func (w *WriterWithProgress) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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