goauth

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OAuth

type OAuth struct {
	Client *http.Client
	// contains filtered or unexported fields
}

func (*OAuth) GetCalendarService

func (o *OAuth) GetCalendarService() (*calendar.Service, error)

GetCalendarService method returns a new calendar service.

func (*OAuth) SetClient

func (o *OAuth) SetClient(scope ...string) error

SetClient function retrieves a token, saves the token, then returns the generated client.

Jump to

Keyboard shortcuts

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