Documentation
¶
Index ¶
Constants ¶
View Source
const (
// ListenerAirbrake is the airbrake listener name.
ListenerAirbrake = "airbrake"
)
Variables ¶
This section is empty.
Functions ¶
func AddListeners ¶
AddListeners adds airbrake listeners.
Types ¶
type Config ¶
type Config struct {
ProjectID string `json:"projectID" yaml:"projectID" env:"AIRBRAKE_PROJECT_ID"`
ProjectKey string `json:"projectKey" yaml:"projectKey" env:"AIRBRAKE_PROJECT_KEY"`
Environment string `json:"environment" yaml:"environment" env:"SERVICE_ENV"`
}
Config is the airbrake config.
Click to show internal directories.
Click to hide internal directories.