Documentation
¶
Index ¶
- func DownloadBoxFile(client *http.Client, boxFilePath string, localPath string) (string, error)
- func DownloadBoxFolder(client *http.Client, boxFolderPath string) error
- func DownloadFile(srv *drive.Service, drivePath string) (string, error)
- func DownloadFolder(srv *drive.Service, drivePath string) error
- func GetBoxClient(credentialsFile string) (*http.Client, error)
- func GetDriveService(credentialsFile string) (*drive.Service, error)
- func HumanReadableBoxSize(size int64) string
- func HumanReadableSize(size int64) string
- func ListBoxContents(client *http.Client, folderPath string) ([]BoxItemDisplay, []BoxItemDisplay, error)
- func ListDriveContents(srv *drive.Service, folderName string) ([]DriveItem, []DriveItem, error)
- func UploadBoxFile(client *http.Client, localPath string, boxFolderPath string) error
- func UploadBoxFolder(client *http.Client, localPath string, boxFolderPath string) error
- func UploadFile(srv *drive.Service, localPath string, driveFolder string) (*drive.File, error)
- func UploadFolder(srv *drive.Service, localPath string, driveFolder string) error
- type BoxCredentials
- type BoxError
- type BoxFolderItems
- type BoxItem
- type BoxItemDisplay
- type DriveItem
- type QueryResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadBoxFile ¶ added in v1.0.1
func DownloadBoxFolder ¶ added in v1.0.1
func DownloadFile ¶ added in v0.3.0
func DownloadFolder ¶ added in v0.3.0
func GetDriveService ¶ added in v0.3.0
func HumanReadableBoxSize ¶ added in v1.0.1
func HumanReadableSize ¶ added in v0.3.0
func ListBoxContents ¶ added in v1.0.1
func ListBoxContents(client *http.Client, folderPath string) ([]BoxItemDisplay, []BoxItemDisplay, error)
func ListDriveContents ¶ added in v0.3.0
func UploadBoxFile ¶ added in v1.0.1
func UploadBoxFolder ¶ added in v1.0.1
func UploadFile ¶ added in v0.3.0
Types ¶
type BoxCredentials ¶ added in v1.0.1
type BoxFolderItems ¶ added in v1.0.1
type BoxItemDisplay ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.