camlistore.org: camlistore.org/pkg/blobserver/google/drive Index | Files | Directories

package drive

import "camlistore.org/pkg/blobserver/google/drive"

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

Package Files

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

Constants

const Scope = "https://www.googleapis.com/auth/drive"

Scope is the OAuth2 scope used for Google Drive.

Directories

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

Package drive imports 9 packages (graph) and is imported by 9 packages. Updated 2018-01-14. Refresh now. Tools for package owners.