README
Rollbar handler
Error handler integration for Rollbar.
Installation
go get emperror.dev/handler/rollbar
Usage
package main
import (
"emperror.dev/handler/rollbar"
)
func main() {
token := "token"
handler := rollbar.New(token, "env", "version", "host", "serverRoot")
}
Development
When all coding and testing is done, please run the test suite:
$ make check
License
The MIT License (MIT). Please see License File for more information.
Documentation
Overview ¶
Package rollbar provides Rollbar integration.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is responsible for sending errors to Rollbar.
func NewFromClient ¶
func NewFromClient(client *rollbar.Client) *Handler
NewFromClient creates a new handler from a client instance.
Example ¶
Output: