Commit Briefs

49e200e1bf Oliver Lowe

Remove unnecessary parseAPIResponse function

All this did was wrap the usual standard library JSON decode procedure.


9feb16b367 Oliver Lowe

Remove useless loop

We always returned something on the first iteration, so just remove it.


1646fdebff Oliver Lowe

Actually return permissions grante to the client

Before we were just returning an empty response or something non-meaningful


7aa5b05532 Oliver Lowe

doc: Keep the getting started tutorial in 1 place


6d1ce85e96 Oliver Lowe

Merge get and getFilter methods

Doing a GET without a query is the same as doing a GET with an empty query, so there's no point having 2 separate methods.


76669f9b1f Oliver Lowe

I learned how to do some generic programming

New type "object" is an interface to represent an Icinga2 object. I added heaps of other stuff! On our way to 1000 lines of code!


6456042b9d Oliver Lowe

Complete the README with a tutorial and a "why?"


83f511305d Oliver Lowe

add Icinga service and host states

Nothing actually uses these yet but they will soon!


5055878019 Oliver Lowe

more docs


b74ab3b391 Oliver Lowe

go fmt


007a3d09ec Oliver Lowe

Embed http.Client in Client

No need to have it named


2c4d16aea2 Oliver Lowe

initial commit