Documentation ¶
Overview ¶
Backend connection to Amazon Cloud Drive
Index ¶
- type Client
- func (c *Client) CreateFolder(folder string) error
- func (c *Client) DownloadWithWriter(_ string, _ io.WriterAt) error
- func (c *Client) GetEndpoint() error
- func (c *Client) List(_ string, action func(key string)) ([]string, error)
- func (c *Client) UploadWithReader(hash string, r io.Reader) error
- func (c *Client) VerifyHash(hash string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func MakeClient ¶
func MakeClient(remote config.RemoteObject) *Client
func (*Client) CreateFolder ¶
Create a folder at Amazon Cloud Drive
func (*Client) DownloadWithWriter ¶
func (*Client) GetEndpoint ¶
Get endpoint urls for Amazon Cloud Drive (both for content and meta data access)
func (*Client) UploadWithReader ¶
Upload a file to Amazon Cloud Drive
Click to show internal directories.
Click to hide internal directories.