# Functions

Add creates a new resource.
CloseResponse closes a response body; If you use DoRequest, and not one of the higher level helpers like Get or Post, you should use `defer CloseResponse(response)` to ensure it gets cleaned up properly.
No description provided by the author
DeleteByID will delete a resource with the provided id.
No description provided by the author
No description provided by the author
No description provided by the author
GetAll returns all resources.
GetByID returns the resource that matches the input ID.
GetByQuery returns a collection of resources based on the criteria defined by its input query parameter.
No description provided by the author
No description provided by the author
Post
No description provided by the author
No description provided by the author
Update modifies a resource based on the one provided as input.

# Structs

HttpSession is a layer over http.Client, and provides the following additional functionality: - Holding a 'base' URL, and using it to qualify relative URL's - Holding default HTTP request headers, and propagating them onto - Converting payloads to/from JSON, including our behaviour of converting HTTP 4xx/5xx responses into go error structs - Helpers for convenient Get/Put/Post/etc - Dealing with quirks of the go io subsystem (flushing buffers where required etc).

# Interfaces

No description provided by the author