carddav: add limit support to addressbook-query
References: https://github.com/emersion/go-webdav/issues/18
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user