meet

package
v0.0.0-...-c29fd12 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MeetScopes = []string{
	people.UserinfoEmailScope,
	calendar.CalendarEventsScope,
}

This API requires some API scopes: Get user email scope Manage calendar event scope

Note that this scope is slice of string, not string

Functions

This section is empty.

Types

type Conference

type Conference struct {
	URL string `json:"url,omitempty"`
}

Conference is struct for api call response data

type ConferenceCreateCall

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

ConferenceCreateCall manages creation of ConferenceData

func (*ConferenceCreateCall) Context

Set request context

func (*ConferenceCreateCall) Do

Execute API call To get new Google Meet URL, we need to do following steps: 1. Create temporal calendar event with atend yourself 2. Retrieve response from calendar created reponse (may contains Google Meet URL) 3. Delete temporal event 4. return Google Meet URL got on step.2

type ConferenceService

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

ConferenceService wraps calendar's conferenceData access

func NewConferenceService

func NewConferenceService(c *http.Client) (*ConferenceService, error)

Create new ConferenceService

func (*ConferenceService) Create

Create() creates Calendar creation caller pointer

type Service

type Service struct {
	Conference *ConferenceService
}

Main API service struct

func New

func New(c *http.Client) (*Service, error)

Create server pointer

Jump to

Keyboard shortcuts

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