helpers

package
v0.0.0-...-5b52f1c Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticateClient

func AuthenticateClient(credentials string, userEmail string) (*calendar.Service, error)

AuthenticateClient authenticates the client and returns a calendar service object

func GetEvents

func GetEvents(room string) ([]models.CalendarEvent, error)

GetEvents finds the appropriate calendar and returns the days events

func SetEvent

func SetEvent(room string, event models.CalendarEvent) error

SetEvent finds the appropriate calendar and adds the given event

Types

This section is empty.

Jump to

Keyboard shortcuts

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