# README
dothill-api-go
A Go implementation of the Dothill API.
Run tests
In order to run tests, you will need to install node.js and npm to run the mock server. When it's done, go to the mock
directory, install dependencies and start the mock server.
cd ./mock
npm install
npm run start
You're now ready to go, just run go test
to run the tests suite.
You can also skip previous steps and just run tests with docker-compose:
docker-compose up --build --abort-on-container-exit --exit-code-from tests
# Functions
NewClient : Creates a dothill client by setting up its HTTP client.
NewErrorStatus : Creates an error status when response is not available.
NewResponse : Unmarshals the raw data into a typed response object and generate a hash map from fields for optimization.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Client : Can be used to request the dothill API.
No description provided by the author
Object : Typed representation of any XML API object.
Property : Typed representation of any XML API property.
Request : Used internally, and can be used to send custom requests (see Client.Request()).
Response : Typed representation of any XML API response.
ResponseStatus : Final representation of the "status" object in every API response.
Volume : volume-view representation.