drive

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2018 License: MIT Imports: 11 Imported by: 0

README

Nibbler Drive Extension

Setup

https://developers.google.com/drive/api/v3/quickstart/go

Some Nibbler config values are available:

  • google.drive.credentials.path (GOOGLE_DRIVE_CREDENTIALS_PATH env var, defaults to "./credentials.json")
  • google.drive.tokenfile.path (GOOGLE_DRIVE_TOKENFILE_PATH env var, defaults to "./credentials.json")

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Extension

type Extension struct {
	nibbler.NoOpExtension
	ConnectServiceOnInit bool
	CredentialsPath      string
	TokenFilePath        string

	Srv    *drive.Service
	Client *http.Client
	// contains filtered or unexported fields
}

func (*Extension) Init

func (s *Extension) Init(app *nibbler.Application) error

func (*Extension) InitService

func (s *Extension) InitService() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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