googlecalendar

package
v0.0.0-...-79d20a5 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(logger *zap.Logger, codeCh chan string) (*Client, error)

NewClient creates a new Client instance. TODO: inject the calendar service as a dependency.

func (*Client) CreateInstantCall

func (c *Client) CreateInstantCall(meetingName string, duration time.Duration) (string, error)

CreateInstantCall creates an instant call. It creates a new event in the primary calendar with the given name and duration.

Jump to

Keyboard shortcuts

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