gcal

package
v0.0.0-...-52be9fe Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GCal

type GCal struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewGCalTrigger

func NewGCalTrigger(name string, refresh time.Duration) *GCal

NewGCalTrigger creates a GCal trigger allowing to trigger state changes according to rules present in GCal events. It will use the gcal_secret.json in the data folder. Please go to https://console.developers.google.com for further explanation. The format that has to be used is the following : START: <Object ID> <State> END: <Object ID> <State>

Jump to

Keyboard shortcuts

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