Commit Graph

10 Commits

Author SHA1 Message Date
lxfontes 6372129c8f Adding `VolumeLimit` to account. 2018-08-30 12:55:21 -04:00
Iheanyi Ekechukwu e6249e5059 Remove support for Go 1.6 (#166)
* Move DoRequest* to godo package with stdlib context

* Use stdlib context package in place of godo context.

* Remove Go 1.6 from TravisCI configuration.

* Use stdlib context in util and tests instead of godo context.

* Add in Go 1.8, 1.9, and 1.10 to TravisCI configuration.

* Put 1.10 in quotes.
2018-05-08 16:24:29 -04:00
Guus van Weelden 9e24e26f6b use http.MethodX instead of "GET"/"POST"/"DELETE" 2017-07-02 13:55:56 +02:00
akutz 8ed9e9ea6c Portable Go Context Usage
This patch updates the godo package to use a portable Go context -- a
Context that works with Go versions prior to Go 1.7 as well as Go 1.7
and onwards.
2017-04-07 15:32:33 -05:00
Antoine Grondin dc14e4b04d add context.Context to all calls 2017-02-23 14:25:29 -05:00
Adam Michel 09c1ef1164 Add FloatingIPLimit to Account type. 2015-11-24 10:42:14 -05:00
bryanl 5ce8a06985 add missing account fields 2015-10-25 12:05:59 -04:00
bryanl 32ac48f00c It's DigitalOcean 2015-09-18 09:10:59 -04:00
Phillip Baker 1df42b98f6 Standardize on returning objects, not the json roots.
Let's be nice to our consumers - they don't care about the root, they care about the object. Even when the user needs access to the Links, that's accessible via the resp variable returned.
2015-06-01 10:47:19 -04:00
Andrew Starr-Bochicchio ccc93aa250 Add support for the /v2/account endpoint. 2015-04-06 13:09:21 -04:00