events

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Summary     string
	Description string
	Start       time.Time
	End         time.Time
	Hangout     string
	Link        string
	Location    string
	Reminders   []*Reminder
}

type Notifier

type Notifier struct {
	// contains filtered or unexported fields
}

func NewNotifier

func NewNotifier(svc *calendar.Service, calendarID string) (*Notifier, error)

func (*Notifier) Poll

func (n *Notifier) Poll(ctx context.Context)

type Reminder

type Reminder struct {
	Before   time.Duration
	Notified bool
}

func (*Reminder) String

func (r *Reminder) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL