gdrivesvc

package module
v0.0.0-...-453f55e Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

README

gdrivesvc

Service for managing Google Drive files

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileMeta

type FileMeta struct {
	Name     string
	MimeType string
	FolderID string
}

type Service

type Service struct {
	*drive.Service
}

func New

func New(ctx context.Context, client *http.Client) *Service

func (*Service) UploadFile

func (s *Service) UploadFile(f *os.File, meta FileMeta, uploadedChan chan string, errCh chan error)

Jump to

Keyboard shortcuts

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