diff options
| author | Stefan Majewsky <stefan.majewsky@sap.com> | 2022-10-28 16:06:40 +0200 |
|---|---|---|
| committer | Stefan Majewsky <stefan.majewsky@sap.com> | 2022-10-28 16:06:40 +0200 |
| commit | 90dd519a948d06738479c04d331f28dfab99315c (patch) | |
| tree | d4a9914cb73be3dbe9438b012a08408d79bdb7c9 /backend.go | |
| parent | fd6e57b6239655722884a49a86be0f051cc32bde (diff) | |
| parent | 5cf9b60d2ded95d29827389a1a5901f1068d4337 (diff) | |
| download | go-schwift-90dd519a948d06738479c04d331f28dfab99315c.tar.gz | |
Merge remote-tracking branch 'SuperSandro2000:sha2'
Diffstat (limited to 'backend.go')
| -rw-r--r-- | backend.go | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -22,9 +22,9 @@ import ( "net/http" ) -//Backend is the interface between Schwift and the libraries providing -//authentication for it. Each instance of Backend represents a particular Swift -//account. +// Backend is the interface between Schwift and the libraries providing +// authentication for it. Each instance of Backend represents a particular Swift +// account. type Backend interface { //EndpointURL returns the endpoint URL from the Keystone catalog for the //Swift account that this backend operates on. It should look like @@ -43,6 +43,6 @@ type Backend interface { Do(req *http.Request) (*http.Response, error) } -//DefaultUserAgent is the User-Agent string that Backend implementations should -//use if the user does not provide their own User-Agent string. +// DefaultUserAgent is the User-Agent string that Backend implementations should +// use if the user does not provide their own User-Agent string. const DefaultUserAgent = "schwift/" + Version |
