aboutsummaryrefslogtreecommitdiff
path: root/doc.go
diff options
context:
space:
mode:
Diffstat (limited to 'doc.go')
-rw-r--r--doc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc.go b/doc.go
index 1d0dca5..e4e7809 100644
--- a/doc.go
+++ b/doc.go
@@ -58,6 +58,10 @@ have access to all of schwift's API:
account, err := gopherschwift.Wrap(client)
+For example, to download an object's contents into a string:
+
+ text, err := account.Container("foo").Object("bar.txt").Download(nil).AsString()
+
Authentication with a different OpenStack library
If you use a different Go library to handle Keystone/Swift authentication, take