Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Accepted severity levels by Sentry DEBUG Severity = "debug" INFO = "info" WARNING = "warning" ERROR = "error" FATAL = "fatal" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Packet ¶
type Packet struct { EventId string `json:"event_id"` // Unique id, max 32 characters Timestamp time.Time `json:"timestamp"` // Sentry assumes it is given in UTC. Use the ISO 8601 format Message string `json:"message"` // Human-readable message, max length 1000 characters Level Severity `json:"level"` // Defaults to "error" Logger string `json:"logger"` // Defaults to "root" Culprit string `json:"culprit"` // Becomes main name in Sentry ServerName string `json:"server_name"` Tags interface{} `json:"tags,omitempty"` // Additional optional tags }
type SentryRateLimitError ¶
type SentryRateLimitError string
func (SentryRateLimitError) Error ¶
func (self SentryRateLimitError) Error() string
Click to show internal directories.
Click to hide internal directories.