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.
Click to show internal directories.
Click to hide internal directories.