go-webdav/carddav/carddav.go
2020-01-14 23:44:21 +01:00

26 lines
361 B
Go

package carddav
import (
"encoding/xml"
"github.com/emersion/go-vcard"
)
const namespace = "urn:ietf:params:xml:ns:carddav"
type AddressBook struct {
Href string
Description string
}
var addressBookName = xml.Name{namespace, "addressbook"}
type AddressBookQuery struct {
Props []string
}
type Address struct {
Href string
Card vcard.Card
}