Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { XMLName xml.Name `xml:"DAV: error"` Description string `xml:"error-description,omitempty"` Message string `xml:"message,omitempty"` }
a WebDAV error
type Multistatus ¶
type Multistatus struct { XMLName xml.Name `xml:"DAV: multistatus"` Responses []*Response `xml:"response,omitempty"` }
a request to find properties on an an entity or collection
type Prop ¶
type Prop struct { XMLName xml.Name `xml:"DAV: prop"` GetContentType string `xml:"getcontenttype,omitempty"` DisplayName string `xml:"displayname,omitempty"` ResourceType *ResourceType `xml:",omitempty"` CTag string `xml:"http://calendarserver.org/ns/ getctag,omitempty"` ETag string `xml:"http://calendarserver.org/ns/ getetag,omitempty"` }
a property of a resource
type PropStat ¶
type PropStat struct { XMLName xml.Name `xml:"propstat"` Status string `xml:"status"` Prop *Prop `xml:",omitempty"` }
metadata about a property
type Propfind ¶
type Propfind struct { XMLName xml.Name `xml:"DAV: propfind"` AllProp *AllProp `xml:",omitempty"` Props []*Prop `xml:"prop,omitempty"` }
a request to find properties on an an entity or collection
func NewAllPropsFind ¶
func NewAllPropsFind() *Propfind
a convenience method for searching all properties
type ResourceType ¶
type ResourceType struct { XMLName xml.Name `xml:"resourcetype"` Collection *ResourceTypeCollection `xml:",omitempty"` Calendar *ResourceTypeCalendar `xml:",omitempty"` }
the type of a resource
type ResourceTypeCalendar ¶
type ResourceTypeCalendar struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:caldav calendar"`
}
A calendar resource type
type ResourceTypeCollection ¶
A collection resource type
Click to show internal directories.
Click to hide internal directories.