netdrive

package
v0.0.0-...-04ff805 Latest Latest
Warning

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

Go to latest
Published: May 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetDrive

type NetDrive interface {
	DownloadFile(pathToFile string) ([]byte, error)
	UploadFile(pathToFile string, buf []byte) error
	Close() error
}

func New

func New(p Provider, apiKey string) (NetDrive, error)

type Provider

type Provider string
const (
	GoogleDrive Provider = "google-drive"
)

Jump to

Keyboard shortcuts

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