google_calendar

package
v0.0.0-...-2b3799d Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const DefaultMsg = "Calendar event: %q"
View Source
const DefaultTz = "America/Los_Angeles"
View Source
const Usage = `` /* 1302-byte string literal not displayed */

Variables

This section is empty.

Functions

func Register

func Register()

Types

type CalEvent

type CalEvent struct {
	Start       time.Time
	End         time.Time
	AllDay      bool
	Name        string
	Description string
}

a simplified calendar event returned by getEvents

type Config

type Config struct {
	RoomId        string
	CalendarId    string
	Timezone      time.Location
	Autoreply     bool
	AnnounceStart bool
	AnnounceEnd   bool
	CalEvents     []CalEvent
	EvtsSinceLast int
	// contains filtered or unexported fields
}

func (*Config) LoadFromPrefs

func (c *Config) LoadFromPrefs() error

type GoogleError

type GoogleError struct {
	Parent error
}

func (GoogleError) Error

func (e GoogleError) Error() string

type PrefMissingError

type PrefMissingError struct{}

func (PrefMissingError) Error

func (e PrefMissingError) Error() string

type SecretMissingError

type SecretMissingError struct{}

func (SecretMissingError) Error

func (e SecretMissingError) Error() string

Jump to

Keyboard shortcuts

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