go-webdav/carddav/carddav.go
2020-01-22 15:35:36 +01:00

34 lines
524 B
Go

// Package carddav provides a client and server CardDAV implementation.
//
// CardDAV is defined in RFC 6352.
package carddav
import (
"time"
"github.com/emersion/go-vcard"
)
type AddressBook struct {
Path string
Name string
Description string
MaxResourceSize int64
}
type AddressBookQuery struct {
Props []string
}
type AddressBookMultiGet struct {
Paths []string
Props []string
}
type AddressObject struct {
Path string
ModTime time.Time
ETag string
Card vcard.Card
}