Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDateTime ¶
Types ¶
type Attendee ¶
type Attendee struct { CommonName string EmailAddress string Role Role PartStatus AttendeeStatus //RSVP is by default NO CuType CalendarUserType Rsvp Rsvp }
type AttendeeStatus ¶
type AttendeeStatus string
const ( AttendeeStatus_NEEDACTION AttendeeStatus = "NEEDS-ACTION" AttendeeStatus_TENTATIVE AttendeeStatus = "TENTATIVE" AttendeeStatus_ACCEPTED AttendeeStatus = "ACCEPTED" AttendeeStatus_DECLINED AttendeeStatus = "DECLINED" )
type CalendarUserType ¶
type CalendarUserType string
const (
INDIVIDUAL CalendarUserType = "INDIVIDUAL"
)
type Event ¶
type Event struct { Class CLASS Summary string Description string Status EventStatus Geo *GeoLocation Location string DtEnd time.Time DtStart time.Time RRule []string ExRule []string ExDate []time.Time Transparency Transparency Attendees []Attendee Organizer Attendee UID string // contains filtered or unexported fields }
type EventStatus ¶
type EventStatus string
const ( EventStatus_CONFIRMED EventStatus = "CONFIRMED" EventStatus_CANCELLED EventStatus = "CANCELLED" EventStatus_TENTATIVE EventStatus = "TENTATIVE" )
type GeoLocation ¶
type Rsvp ¶
type Rsvp string
This is related to PartStat https://datatracker.ietf.org/doc/html/rfc5545#section-3.2.12 https://datatracker.ietf.org/doc/html/rfc5545#section-3.2.17
type Transparency ¶
type Transparency string
const ( TRANSAPARENT Transparency = "TRANSPARENT" OPAQUE Transparency = "OPAQUE" )
Click to show internal directories.
Click to hide internal directories.