webdav

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedMkdirAll = errors.New("failed to create directory")
	ErrFailedDownload = errors.New("failed to download file")
	ErrFailedWrite    = errors.New("failed to write file")
	ErrReadFile       = errors.New("failed to read file")
)

Functions

This section is empty.

Types

type Webdav

type Webdav struct{}

func (*Webdav) Delete

func (w *Webdav) Delete(ctx context.Context, detail *types.StorageDetail) error

func (*Webdav) GetFile

func (w *Webdav) GetFile(ctx context.Context, detail *types.StorageDetail) ([]byte, error)

func (*Webdav) Init

func (w *Webdav) Init()

func (*Webdav) Save

func (w *Webdav) Save(ctx context.Context, filePath string, storagePath string) (*types.StorageDetail, error)

Jump to

Keyboard shortcuts

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