Documentation
¶
Overview ¶
Package drive registers the "googledrive" blobserver storage type, storing blobs in a Google Drive folder.
Example low-level config:
"/storage-googledrive/": {
"handler": "storage-googledrive",
"handlerArgs": map[string]interface{}{
"parent_id": parentId,
"auth": map[string]interface{}{
"client_id": clientId,
"client_secret": clientSecret,
"refresh_token": refreshToken,
},
},
},
Index ¶
Constants ¶
View Source
const ( Scope = "https://www.googleapis.com/auth/drive" AuthURL = "https://accounts.google.com/o/oauth2/auth" TokenURL = "https://accounts.google.com/o/oauth2/token" RedirectURL = "urn:ietf:wg:oauth:2.0:oob" )
View Source
const ( GoogleOAuth2AuthURL = "https://accounts.google.com/o/oauth2/auth" GoogleOAuth2TokenURL = "https://accounts.google.com/o/oauth2/token" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.