lib

package
v0.0.0-...-f71d40c Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient(config *oauth2.Config) *http.Client

func GetTokenFromWeb

func GetTokenFromWeb(config *oauth2.Config) *oauth2.Token

func SaveToken

func SaveToken(path string, token *oauth2.Token)

Saves a token to a file path.

func TokenFromFile

func TokenFromFile(file string) (*oauth2.Token, error)

Retrieves a token from a local file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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