carddav: add AddressObject.{ModTime,ETag}

This commit is contained in:
Simon Ser
2020-01-22 15:35:36 +01:00
parent 2eb6e89979
commit 0a251a8dfb
3 changed files with 56 additions and 15 deletions

View File

@@ -4,6 +4,8 @@
package carddav
import (
"time"
"github.com/emersion/go-vcard"
)
@@ -24,6 +26,8 @@ type AddressBookMultiGet struct {
}
type AddressObject struct {
Path string
Card vcard.Card
Path string
ModTime time.Time
ETag string
Card vcard.Card
}