Documentation
¶
Index ¶
- func GetModule() common.Module
- type Event
- type EventSorter
- type Khal
- func (m *Khal) GetDescription() string
- func (m *Khal) GetLastRun() string
- func (m *Khal) GetName() string
- func (m *Khal) GetRunInterval() int64
- func (m *Khal) GetRunIntervalOnBattery() int64
- func (m *Khal) GetSlug() string
- func (m *Khal) GetWaybarOutput() (*common.WaybarOutput, error)
- func (m *Khal) IsEnabled() bool
- func (m *Khal) Run() error
- func (m *Khal) RunCommand(name string, args []string) error
- func (m *Khal) SaveLastRun()
- func (m *Khal) SuspendOnBattery() bool
- func (m *Khal) WriteOutput() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { Title string `json:"title"` Description string `json:"description"` StartDate string `json:"start-date"` StartTime string `json:"start-time"` EndDate string `json:"end-date"` EndTime string `json:"end-time"` Location string `json:"location"` }
func (*Event) GetMeetingLink ¶
type EventSorter ¶
type EventSorter []*Event
func (EventSorter) Len ¶
func (evs EventSorter) Len() int
func (EventSorter) Less ¶
func (evs EventSorter) Less(i, j int) bool
func (EventSorter) Swap ¶
func (evs EventSorter) Swap(i, j int)
type Khal ¶
type Khal struct { Name string Description string Slug string // contains filtered or unexported fields }
func (*Khal) GetDescription ¶
func (*Khal) GetLastRun ¶
func (*Khal) GetRunInterval ¶
func (*Khal) GetRunIntervalOnBattery ¶
func (*Khal) GetWaybarOutput ¶
func (m *Khal) GetWaybarOutput() (*common.WaybarOutput, error)
func (*Khal) SaveLastRun ¶
func (m *Khal) SaveLastRun()
func (*Khal) SuspendOnBattery ¶
func (*Khal) WriteOutput ¶
Click to show internal directories.
Click to hide internal directories.