Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NopTracker ¶
type NopTracker struct{}
func NewNopTracker ¶
func NewNopTracker() *NopTracker
func (NopTracker) Track ¶
func (t NopTracker) Track(level Level, errorText string, ctx map[string]interface{})
func (NopTracker) WithHTTPRequest ¶
func (t NopTracker) WithHTTPRequest(r *http.Request) Tracker
type RollbarTracker ¶
type RollbarTracker struct {
// contains filtered or unexported fields
}
func NewRollbarTracker ¶
func NewRollbarTracker(token, project, env string) *RollbarTracker
func (RollbarTracker) Track ¶
func (t RollbarTracker) Track(level Level, errorText string, ctx map[string]interface{})
func (RollbarTracker) WithHTTPRequest ¶
func (t RollbarTracker) WithHTTPRequest(r *http.Request) Tracker
type SentryTracker ¶
type SentryTracker struct {
// contains filtered or unexported fields
}
func NewSentryTracker ¶
func NewSentryTracker(dsn, env string) (*SentryTracker, error)
func (SentryTracker) Track ¶
func (t SentryTracker) Track(level Level, errorText string, ctx map[string]interface{})
func (SentryTracker) WithHTTPRequest ¶
func (t SentryTracker) WithHTTPRequest(r *http.Request) Tracker
Click to show internal directories.
Click to hide internal directories.