internal: add helpers to parse multistatus

This commit is contained in:
Simon Ser
2020-01-14 21:29:54 +01:00
parent 93f95c7fd2
commit 5748fec4d0
4 changed files with 99 additions and 33 deletions

View File

@@ -1,5 +1,10 @@
package webdav
import (
"encoding/xml"
)
type currentUserPrincipalProp struct {
Href string `xml:"current-user-principal>href"`
Name xml.Name `xml:"DAV: current-user-principal"`
Href string `xml:"href"`
}