2020-01-21 20:01:18 +00:00
|
|
|
// Package carddav provides a client and server CardDAV implementation.
|
|
|
|
//
|
|
|
|
// CardDAV is defined in RFC 6352.
|
2020-01-14 21:19:54 +00:00
|
|
|
package carddav
|
|
|
|
|
2020-01-14 22:13:23 +00:00
|
|
|
import (
|
2020-01-14 22:44:21 +00:00
|
|
|
"github.com/emersion/go-vcard"
|
2020-01-14 22:13:23 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
type AddressBook struct {
|
2020-01-19 14:06:09 +00:00
|
|
|
Href string
|
|
|
|
Name string
|
|
|
|
Description string
|
|
|
|
MaxResourceSize int64
|
2020-01-14 22:13:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type AddressBookQuery struct {
|
2020-01-14 22:44:21 +00:00
|
|
|
Props []string
|
|
|
|
}
|
|
|
|
|
2020-01-15 11:09:42 +00:00
|
|
|
type AddressBookMultiGet struct {
|
|
|
|
Hrefs []string
|
|
|
|
Props []string
|
|
|
|
}
|
|
|
|
|
2020-01-17 15:20:05 +00:00
|
|
|
type AddressObject struct {
|
2020-01-14 22:44:21 +00:00
|
|
|
Href string
|
|
|
|
Card vcard.Card
|
2020-01-14 22:13:23 +00:00
|
|
|
}
|