Documentation ¶
Index ¶
- Variables
- type Webdav
- func (w *Webdav) Delete(ctx context.Context, detail *types.StorageDetail) error
- func (w *Webdav) GetFile(ctx context.Context, detail *types.StorageDetail) ([]byte, error)
- func (w *Webdav) Init()
- func (w *Webdav) Save(ctx context.Context, filePath string, storagePath string) (*types.StorageDetail, error)
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") )
View Source
var Client *gowebdav.Client
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.