gsuite

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 8 Imported by: 1

README

gsuite-calendar

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Calendar

type Calendar struct {
	UserEmail       string
	CredentialsPath string
	RoomId          string
}

func (*Calendar) AuthenticateClient

func (c *Calendar) AuthenticateClient(ctx context.Context) (*calendar.Service, error)

func (*Calendar) CreateEvent

func (c *Calendar) CreateEvent(ctx context.Context, event calendars.Event) error

func (*Calendar) GetCalendarID

func (c *Calendar) GetCalendarID(calSvc *calendar.Service) (string, error)

func (*Calendar) GetEvents

func (c *Calendar) GetEvents(ctx context.Context) ([]calendars.Event, error)

Jump to

Keyboard shortcuts

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