Documentation
¶
Index ¶
- type FilesClient
- func (c *FilesClient) DownloadFile(webdavpath string, localpath string) error
- func (c *FilesClient) Login(config *types.ClientConfig) error
- func (c *FilesClient) Logout() error
- func (c *FilesClient) ReadDir(path string) ([]os.FileInfo, error)
- func (c *FilesClient) ReadFile(path string) ([]byte, error)
- func (c *FilesClient) UploadFile(localpath string, webdavpath string) error
- func (c *FilesClient) WriteFile(path string, content []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesClient ¶ added in v0.1.0
type FilesClient struct {
// contains filtered or unexported fields
}
func (*FilesClient) DownloadFile ¶ added in v0.1.0
func (c *FilesClient) DownloadFile(webdavpath string, localpath string) error
func (*FilesClient) Login ¶ added in v0.1.0
func (c *FilesClient) Login(config *types.ClientConfig) error
func (*FilesClient) Logout ¶ added in v0.1.0
func (c *FilesClient) Logout() error
func (*FilesClient) ReadDir ¶ added in v0.1.0
func (c *FilesClient) ReadDir(path string) ([]os.FileInfo, error)
func (*FilesClient) ReadFile ¶ added in v0.1.0
func (c *FilesClient) ReadFile(path string) ([]byte, error)
func (*FilesClient) UploadFile ¶ added in v0.1.0
func (c *FilesClient) UploadFile(localpath string, webdavpath string) error
Click to show internal directories.
Click to hide internal directories.