googledrive

package
v0.0.0-...-3bbfe4c Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizeGoogleDrive

func AuthorizeGoogleDrive(w http.ResponseWriter, r *http.Request) error

AuthorizeGoogleDrive redeems the authorization code received from the client for an access token.

func RefreshGoogleDriveToken

func RefreshGoogleDriveToken(w http.ResponseWriter, r *http.Request) error

RefreshGoogleDriveToken generates additional access tokens after the initial token has expired.

func SaveToGoogleDrive

func SaveToGoogleDrive(w http.ResponseWriter, r *http.Request) error

SaveToGoogleDrive saves the requested photo to the current user's Google Drive account.

func SendGoogleDriveKey

func SendGoogleDriveKey(w http.ResponseWriter, r *http.Request) error

SendGoogleDriveKey sends the application key to the client on request to avoid exposing it in the extension code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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