go-webdav/carddav/carddav.go

30 lines
474 B
Go
Raw Normal View History

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 {
Path 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
}
type AddressBookMultiGet struct {
Paths []string
Props []string
}
type AddressObject struct {
Path string
2020-01-14 22:44:21 +00:00
Card vcard.Card
2020-01-14 22:13:23 +00:00
}