Categorygithub.com/ncw/go-acd
modulepackage
0.0.0-20201019170801-fe55f33415b1
Repository: https://github.com/ncw/go-acd.git
Documentation: pkg.go.dev

# README

go-acd Build Status

Go library for accessing the Amazon Cloud Drive.

This library is the basis for acdcli.

Still work in progress. Focusing on read-only operations at first. Refer to the milestones and issues for planned features.

# Functions

CheckResponse checks the API response for errors, and returns them if present.
EscapeForFilter escapes an abitrary string for use as a filter query parameter.
FolderFromId constructs a skeleton Folder from an Id and a NodeService.
NewClient returns a new Amazon Cloud Drive API client.
NodeFromId constructs a skeleton Node from an Id and a NodeService.

# Constants

LibraryVersion is the current version of this library.

# Variables

ErrorNodeNotFound is returned from GetFile, GetFolder, GetNode.

# Structs

AccountEndpoints represents information about the current customer's endpoints.
AccountInfo represents information about an Amazon Cloud Drive account.
AccountQuota represents information about the account quotas.
AccountService provides access to the account related functions in the Amazon Cloud Drive API.
AccountUsage represents information about the account usage.
CategoryUsage defines Total and Billable UsageNumbers.
A ChangeSet is collection of node changes as received from the Changes API.
ChangesOptions contains all possible arguments for the Changes API.
ChangesService provides access to incemental changes in the Amazon Cloud Drive API.
A Client manages communication with the Amazon Cloud Drive API.
File represents a file on the Amazon Cloud Drive.
Folder represents a folder on the Amazon Cloud Drive.
Node represents a digital asset on the Amazon Cloud Drive, including files and folders, in a parent-child relationship.
NodeListOptions holds the options when getting a list of nodes, such as the filter, sorting and pagination.
NodesService provides access to the nodes in the Amazon Cloud Drive API.
UsageNumbers defines Bytes and Count for a metered count.