diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2018-02-19 21:30:33 +0100 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2018-02-19 21:33:49 +0100 |
| commit | 60d4779889baedc44972d4749daa073efca3b25c (patch) | |
| tree | d47746971f659d6f7e3affe428f239b289954f5b /doc.go | |
| parent | 8f777460661bbbcbe42730979140f525b382110e (diff) | |
| download | go-schwift-60d4779889baedc44972d4749daa073efca3b25c.tar.gz | |
reorganize code
* Gophercloud dependencies move into subpackage gopherschwift.
* Tests move into subpackage tests (to avoid import cycles).
+ Rename "Client" to "Backend".
Diffstat (limited to 'doc.go')
| -rw-r--r-- | doc.go | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -21,6 +21,8 @@ Package schwift is a client library for OpenStack Swift (https://github.com/openstack/swift, https://openstack.org). +TODO update doc for changed auth workflow + It uses Gophercloud (https://github.com/gophercloud/gophercloud) for authentication, so you usually start by obtaining a gophercloud.ServiceClient for Swift like so: @@ -37,9 +39,9 @@ Or, if you use Swift's built-in authentication instead of Keystone: Key: "password", }) -Then, in both cases, you use schwift.AccountFromGophercloud() to obtain a -schwift.Account instance, from which point you have access to all of schwift's -API. +Then, in both cases, you use Wrap() from the subpackage gopherschwift to obtain +a schwift.Account instance, from which point you have access to all of +schwift's API. Caching |
