carddav: add limit support to addressbook-query

References: https://github.com/emersion/go-webdav/issues/18
This commit is contained in:
Simon Ser
2020-01-23 10:35:06 +01:00
parent 70c3bffdf3
commit 94f47fa001
3 changed files with 13 additions and 1 deletions

View File

@@ -19,10 +19,13 @@ type AddressBook struct {
type AddressBookQuery struct {
Props []string
AllProp bool
Limit int // <= 0 means unlimited
}
type AddressBookMultiGet struct {
Paths []string
Paths []string
Props []string
AllProp bool
}