Commit Graph

13 Commits

Author SHA1 Message Date
Timo Reimann 38b71c3469 Deserialize meta field for remaining APIs 2019-12-12 09:46:43 +01:00
Andrew Starr-Bochicchio dacc0fdb97 Fix return of Domains.EditRecord function (Fixes: #198). 2019-01-29 11:26:18 -05:00
Nikolai Zujev 6d1b7bd535
Handle flags & tag properties of domain record
CAA domain record requires both there properties to be passed.
Validation in delegated to the API itself.
2017-10-04 20:19:35 +02:00
Guus van Weelden 9e24e26f6b use http.MethodX instead of "GET"/"POST"/"DELETE" 2017-07-02 13:55:56 +02:00
Marko Mudrinić b7a390c079
Add TTL property to Domains 2017-04-25 22:28:07 +02:00
Antoine Grondin dc14e4b04d add context.Context to all calls 2017-02-23 14:25:29 -05: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
Bryan Liles 4a70bc6049 Merge pull request #33 from digitalocean/remove-implements-check
Remove testing Implements
2015-03-23 07:37:21 -04:00
bryanl 14a4b3f281 Remove testing Implements
Make adherenence to interface a compile type rather than a test time check.
2015-03-21 15:42:48 -04:00
bryanl f1424cedf5 Add missing error checks
Adds missing error checks to godo. Ensures calls to Client.Do and json decoding are evaluated when neccessary.
2015-03-21 15:21:49 -04:00
bryanl 96accbf5e9 Update to current API spec
* Allow requesting pages in lists by number
* Add tooling to allow examination of page links if they exist
* Add domain management CRUD
2014-09-08 20:36:11 -04:00
bryanl 4b5588d885 Services are interfaces
* Converted services to interfaces to make testing with them
in downstream projects easier to do.
* Removed testify dependency.
2014-09-04 16:22:37 -04:00
bryanl b4bec8f557 initial commit 2014-09-03 10:20:10 -04:00