Documentation
¶
Index ¶
- Variables
- type Client
- type Webdav
- func (w *Webdav) Exists(ctx context.Context, storagePath string) bool
- func (w *Webdav) Init(ctx context.Context, cfg config.StorageConfig) error
- func (w *Webdav) JoinStoragePath(p string) string
- func (w *Webdav) Name() string
- func (w *Webdav) Save(ctx context.Context, r io.Reader, storagePath string) error
- func (w *Webdav) Type() storenum.StorageType
- type WebdavMethod
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseURL string
Username string
Password string
// contains filtered or unexported fields
}
type Webdav ¶
type Webdav struct {
// contains filtered or unexported fields
}
func (*Webdav) JoinStoragePath ¶ added in v0.11.0
func (*Webdav) Type ¶ added in v0.11.0
func (w *Webdav) Type() storenum.StorageType
type WebdavMethod ¶ added in v0.20.2
type WebdavMethod string
const ( WebdavMethodMkcol WebdavMethod = "MKCOL" WebdavMethodPropfind WebdavMethod = "PROPFIND" WebdavMethodPut WebdavMethod = "PUT" )
Click to show internal directories.
Click to hide internal directories.