Index | Files | Directories

package drive

import ""

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,


Package Files

drive.go enumerate.go fetch.go receive.go remove.go stat.go


const Scope = ""

Scope is the OAuth2 scope used for Google Drive.


servicePackage service translates blobserver.Storage methods into Google Drive API methods.

Package drive imports 11 packages (graph) and is imported by 2 packages. Updated 2019-06-30. Refresh now. Tools for package owners.