Documentation
¶
Index ¶
- func NewDirServer(dir string, port int, user, pass string) error
- func NewWebDAVServer(fs vfs.Filesystem, port int, user, pass string) error
- type WebDAV
- func (wd *WebDAV) Mkdir(ctx context.Context, name string, perm fs.FileMode) error
- func (wd *WebDAV) OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (webdav.File, error)
- func (wd *WebDAV) RemoveAll(ctx context.Context, name string) error
- func (wd *WebDAV) Rename(ctx context.Context, oldName, newName string) error
- func (wd *WebDAV) Stat(ctx context.Context, name string) (fs.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWebDAVServer ¶
func NewWebDAVServer(fs vfs.Filesystem, port int, user, pass string) error
Types ¶
Click to show internal directories.
Click to hide internal directories.