Documentation ¶
Index ¶
Constants ¶
View Source
const ( DAV_NS = "DAV:" CALDAV_NS = "urn:ietf:params:xml:ns:caldav" CALSERV_NS = "http://calendarserver.org/ns/" )
Variables ¶
View Source
var ( CALENDAR_TG = xml.Name{CALDAV_NS, "calendar"} CALENDAR_DATA_TG = xml.Name{CALDAV_NS, "calendar-data"} CALENDAR_HOME_SET_TG = xml.Name{CALDAV_NS, "calendar-home-set"} CALENDAR_QUERY_TG = xml.Name{CALDAV_NS, "calendar-query"} CALENDAR_MULTIGET_TG = xml.Name{CALDAV_NS, "calendar-multiget"} CALENDAR_USER_ADDRESS_SET_TG = xml.Name{CALDAV_NS, "calendar-user-address-set"} COLLECTION_TG = xml.Name{DAV_NS, "collection"} CURRENT_USER_PRINCIPAL_TG = xml.Name{DAV_NS, "current-user-principal"} DISPLAY_NAME_TG = xml.Name{DAV_NS, "displayname"} GET_CONTENT_LENGTH_TG = xml.Name{DAV_NS, "getcontentlength"} GET_CONTENT_TYPE_TG = xml.Name{DAV_NS, "getcontenttype"} GET_CTAG_TG = xml.Name{CALSERV_NS, "getctag"} GET_ETAG_TG = xml.Name{DAV_NS, "getetag"} GET_LAST_MODIFIED_TG = xml.Name{DAV_NS, "getlastmodified"} HREF_TG = xml.Name{DAV_NS, "href"} OWNER_TG = xml.Name{DAV_NS, "owner"} PRINCIPAL_TG = xml.Name{DAV_NS, "principal"} PRINCIPAL_COLLECTION_SET_TG = xml.Name{DAV_NS, "principal-collection-set"} PRINCIPAL_URL_TG = xml.Name{DAV_NS, "principal-URL"} RESOURCE_TYPE_TG = xml.Name{DAV_NS, "resourcetype"} STATUS_TG = xml.Name{DAV_NS, "status"} SUPPORTED_CALENDAR_COMPONENT_SET_TG = xml.Name{CALDAV_NS, "supported-calendar-component-set"} )
View Source
var NS_PREFIXES = map[string]string{ DAV_NS: "D", CALDAV_NS: "C", CALSERV_NS: "CS", }
Functions ¶
func EscapeText ¶
EscapeText escapes any special character in the given text and returns the result.
func Namespaces ¶
func Namespaces() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.