go-webdav/carddav/carddav.go

25 lines
309 B
Go
Raw Normal View History

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