thirdparty

package
v0.0.0-...-a662f2c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitGoogleConfig

func InitGoogleConfig(credsFilePath string, scopes ...string) error

InitGoogleConfig returns a new pointer to a GoogleConfig object

Types

type GoogleConfig

type GoogleConfig interface {
	GetAuthURL() string
	GetTokenFromWeb(authCode string) error
	GetClient() (*http.Client, error)
}

GoogleConfig is the interface to interact with the Google API Deprecated: not used for anything

func GetGoogleConfig

func GetGoogleConfig() GoogleConfig

GetGoogleConfig returns the configured GoogleConfig object Deprecated: not used for anything

Jump to

Keyboard shortcuts

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