
rollbar-go
A client written in go for provisioning rollbar https://rollbar.com. Currently it only supports adding and removing users from teams.
Usage
go get -u "github.com/babbel/rollbar-go/rollbar"
import "github.com/babbel/rollbar-go/rollbar"
Construct a new rollbar client, then use the services on the client to add or remove users from the Rollbar API. For example:
client, err := rollbar.NewClient("your_api_key")
// List all invites for a team.
teamID := 2131551312
invites, err := client.ListInvites(teamID)
Prerequisites
You will need to have go, docker and docker-compose up and running on your system.
Running the tests
All of the methods are tested and the tests can be run with docker-compose or golang's test command:
docker-compose up --build
go test -v
Built With
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Authors
License
This project is licensed under the Mozilla License - see the LICENSE.md file for details.