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)
Click to show internal directories.
Click to hide internal directories.