Commit Graph

8 Commits

Author SHA1 Message Date
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