mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 16:24:14 +00:00
30 lines
474 B
Go
30 lines
474 B
Go
// Package carddav provides a client and server CardDAV implementation.
|
|
//
|
|
// CardDAV is defined in RFC 6352.
|
|
package carddav
|
|
|
|
import (
|
|
"github.com/emersion/go-vcard"
|
|
)
|
|
|
|
type AddressBook struct {
|
|
Href string
|
|
Name string
|
|
Description string
|
|
MaxResourceSize int64
|
|
}
|
|
|
|
type AddressBookQuery struct {
|
|
Props []string
|
|
}
|
|
|
|
type AddressBookMultiGet struct {
|
|
Hrefs []string
|
|
Props []string
|
|
}
|
|
|
|
type AddressObject struct {
|
|
Href string
|
|
Card vcard.Card
|
|
}
|