Client library for Logz.io API, see below for supported endpoints.
The primary purpose of this library is to act as the API interface for the logz.io Terraform provider.
To use it, you'll need to create an API token and provide it to the client library along with your logz.io regional API server address.
The library currently supports the following API endpoints:
As this package uses Go modules, make sure you are outside of $GOPATH or you have the GO111MODULE=on environment variable set. Then run go get to pull down the dependencies.
Use logzio_client.CallLogzioApi when you need to make a Logz.io API call.
Use structs to represent the requests/responses body, rather than maps.
Sample responses for tests should be under testdata/fixtures.