googledrive

package
v0.0.0-...-0dbb6d4 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2017 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DirectoryMimeType = "application/vnd.google-apps.folder"
View Source
const DirectoryName = "sohestcam.app.videos"

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleDriveClient

type GoogleDriveClient struct {
	// contains filtered or unexported fields
}

func Start

func Start(b []byte) *GoogleDriveClient

func (*GoogleDriveClient) CreateDirectory

func (gdc *GoogleDriveClient) CreateDirectory(name string) (*drive.File, error)

func (*GoogleDriveClient) DirectoryExists

func (gdc *GoogleDriveClient) DirectoryExists(name string, parentId string) (*drive.File, error)

func (*GoogleDriveClient) UploadFile

func (gdc *GoogleDriveClient) UploadFile(filename string, parent *drive.File) (*drive.File, error)

Jump to

Keyboard shortcuts

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