gdrive

package
v0.0.0-...-7e8bf87 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AppPath     = filepath.Join(util.Homedir(), ".gdrive")
	ConfigFname = "config.json"
	TokenFname  = "token.json"
)

File paths and names

Functions

This section is empty.

Types

type Drive

type Drive struct {
	*drive.Service
	// contains filtered or unexported fields
}

func New

func New(customAppPath string, advancedMode bool, promptUser bool) (*Drive, error)

func (*Drive) Client

func (self *Drive) Client() *http.Client

Returns the raw http client which has the oauth transport

Jump to

Keyboard shortcuts

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