Commit Graph

11 Commits

Author SHA1 Message Date
d87b8ff4ba -Added to documentation
-Moved logic of http request to the Do() method in request.go
-
2018-07-06 18:26:11 -06:00
d14f0583ee Begin work on generic request method.
Will probably absorb http client functions into this when done.
2018-07-06 16:21:00 -06:00
f13537fc8c Fix error formatting - what was I doing?!?! 2018-07-06 08:37:53 -06:00
9cef8aeaa2 Breaking - Implement proper error handling. Everything passes errors up 2018-07-05 21:20:52 -06:00
e88572ea4c Various formatting, documentation and style changes. 2018-06-28 19:35:34 -06:00
3a78d5428a Restructure - using pointer receivers instead of passing *ConnectwiseSite to every single function 2018-06-22 21:14:08 -06:00
4eaca267d9 Create generic BuildUrl function to reduce the need to go through all the net/url crap each time 2018-06-22 18:47:39 -06:00
a66ba7ca89 Updated file layout to match CW API documentation 2018-06-22 14:16:26 -06:00
a1635ed170 Began work on webhooks/callback support. Added additional request types. TBD: refactor requests into a generic request type and instead pass whether it is a GET, POST, UPDATE, DELETE, etc request 2018-06-20 15:59:12 -06:00
4e97924700 Created method for generic GET request to CW API to handle all the HTTP garbage. Updated methods to use new GetRequest method. 2018-06-20 14:23:49 -06:00
3c8e0a424f Moved getHTTPResponseBody to requests.go what am i doing lol 2018-06-20 13:24:47 -06:00