Versions in this module Expand all Collapse all v0 v0.1.0 Dec 9, 2022 Changes in this version + const DefaultSentryDSN + func AltDsn(dsn string) interface + func CaptureErrors(project, dsn string, comm <-chan glog.Event) + func CaptureErrorsAltDsn(project string, dsns []string, comm <-chan glog.Event) + func Fingerprint(print ...string) interface + type Client struct + Project string + PublicKey string + SecretKey string + Tags map[string]string + URL *url.URL + func NewClient(dsn string) (client *Client, err error) + func (client Client) Capture(ev *Event) error + func (client Client) CaptureGlogEvent(ev glog.Event) + func (client Client) CaptureMessage(message ...string) (result string, err error) + func (client Client) CaptureMessagef(format string, a ...interface{}) (result string, err error) + type Event struct + EventId string + Extra map[string]interface{} + Fingerprint []string + Http *Http + Level string + Logger string + Message string + Project string + ServerName string + StackTrace stacktrace.StackTrace + Tags map[string]string + TargetDsn string + Timestamp string + func NewEvent(req *http.Request, message string, depth int) *Event + type Http struct + Cookies string + Data interface{} + Headers map[string]string + Method string + QueryString string + Url string + func NewHttp(req *http.Request) *Http