carddav: add client support for query filter

References: https://github.com/emersion/go-webdav/issues/18
This commit is contained in:
Simon Ser
2020-01-24 12:24:35 +01:00
parent 5ada08f6ab
commit 73b67b62b1
3 changed files with 54 additions and 3 deletions

View File

@@ -88,8 +88,8 @@ type propFilter struct {
Test filterTest `xml:"test,attr,omitempty"`
IsNotDefined *struct{} `xml:"is-not-defined,omitempty"`
TextMatch []textMatch `xml:"text-match,omitempty"`
ParamFilter []paramFilter `xml:"param-filter,omitempty"`
TextMatches []textMatch `xml:"text-match,omitempty"`
Params []paramFilter `xml:"param-filter,omitempty"`
}
// https://tools.ietf.org/html/rfc6352#section-10.5.4