Documentation ¶
Index ¶
- type WebDav
- func (w WebDav) Cat(path string) (io.ReadCloser, error)
- func (w WebDav) Init(params map[string]string, app *App) (IBackend, error)
- func (w WebDav) LoginForm() Form
- func (w WebDav) Ls(path string) ([]os.FileInfo, error)
- func (w WebDav) Mkdir(path string) error
- func (w WebDav) Mv(from string, to string) error
- func (w WebDav) Rm(path string) error
- func (w WebDav) Save(path string, file io.Reader) error
- func (w WebDav) Touch(path string) error
- type WebDavParams
- type WebDavResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebDavParams ¶
type WebDavParams struct {
// contains filtered or unexported fields
}
type WebDavResp ¶
type WebDavResp struct { Responses []struct { Href string `xml:"href"` Props []struct { Name string `xml:"prop>displayname,omitempty"` Type xml.Name `xml:"prop>resourcetype>collection,omitempty"` Size int64 `xml:"prop>getcontentlength,omitempty"` Modified string `xml:"prop>getlastmodified,omitempty"` } `xml:"propstat"` } `xml:"response"` }
Click to show internal directories.
Click to hide internal directories.