Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ace ¶
type Ace struct {
XMLName xml.Name `xml:"DAV: ace"`
Principals *Principal `xml:"principal,omitempty"`
Grant *Grant `xml:"grant,omitempty"`
}
func NewGrantPrincipalsAce ¶
type Acl ¶
func NewGrantPrincipalsAcl ¶
type Bind ¶
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 Grant ¶
type Grant struct {
XMLName xml.Name `xml:"DAV: grant"`
Privileges []*Privilege `xml:"privilege,omitempty"`
}
func NewGrantPrivileges ¶
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 Privilege ¶
func NewPrivilege ¶
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"`
GroupMemberSet []string `xml:"group-member-set>href"`
PrincipalGroups []string `xml:"group-membership>href"`
ParentSet []string `xml:"parent-set>parent>segment"`
CurrentUserPrincipal *Principal `xml:"current-user-principal,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
func NewCurrentUserPrincipalPropFind ¶
func NewCurrentUserPrincipalPropFind() *Propfind
method for current user principal search
func NewDisplayNamePropFind ¶
func NewDisplayNamePropFind() *Propfind
func NewGroupMemberSetPropFind ¶
func NewGroupMemberSetPropFind() *Propfind
func NewParentSetPropFind ¶
func NewParentSetPropFind() *Propfind
func NewPrincipalGroupsPropFind ¶
func NewPrincipalGroupsPropFind() *Propfind
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.