Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignee ¶
type Assignee struct { FirstName string `toml:"first_name"` LastName string `toml:"last_name"` Email string `toml:"email"` Description string `toml:"description"` }
Assignee describes a config `people` item entry
type Recurrence ¶
type Recurrence struct { Mode RecMode `toml:"mode"` Count int32 `toml:"count"` Frequency time.Duration `toml:"frequency"` Interval uint32 `toml:"interval"` }
func (*Recurrence) RFC5545 ¶
func (r *Recurrence) RFC5545() ([]string, error)
type Template ¶
type Template struct { CalID string `toml:"cal_id"` Name string `toml:"name"` EventTitle string `toml:"event_title"` Timezone string `toml:"timezone"` Transparency string `toml:"transparency"` Visibility string `toml:"visibility"` Participants []*Assignee `toml:"participants"` EventHost Assignee `toml:"host"` Duration time.Duration `toml:"duration"` Recurrence Recurrence `toml:"recurrence"` Description string `toml:"description"` TitleWithParticipants bool `toml:"title_with_participants"` }
Template holds calendar event basic configuration data
func LoadTemplate ¶
func (*Template) GenerateEventTitle ¶
Click to show internal directories.
Click to hide internal directories.