google

package
v0.0.0-...-56ccd80 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Unlicense Imports: 10 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
}

Client performs actions against the google calendar API.

func NewClient

func NewClient(ctx Context) (*Client, error)

NewClient returns a new client and reads all existing data from the path, if any.

func (Client) Refresh

func (c Client) Refresh(ctx Context, account config.Account) error

func (Client) Save

func (c Client) Save(ctx Context) error

type Context

type Context interface {
	config.Context

	// Identity contains the age identity for encrypting/decrypting data.
	Identity() age.Identity
}

Context contains the values configured elsewhere that configure working with a google API.

func NewContext

func NewContext() Context

NewContext returns a new calsync context with default values.

Jump to

Keyboard shortcuts

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