mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 16:24:14 +00:00
26 lines
361 B
Go
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
|
|
}
|