Documentation ¶
Index ¶
Constants ¶
View Source
const WeaveVersion string = "NOTBUILT"
Variables ¶
View Source
var LocalConfig local_config
Functions ¶
func CleanUpIfNeeded ¶
func CleanUpIfNeeded(path string)
func HandleMessage ¶
func InitConfig ¶
func InitConfig(filePath string)
func PathExists ¶
Types ¶
type SentryPayload ¶
type SentryPayload struct { Message string `json:"message"` EventID string `json:"event_id"` Timestamp string `json:"timestamp"` Level string `json:"level"` Logger string `json:"logger"` Platform string `json:"platform,omitempty"` Culprit string `json:"culprit,omitempty"` ServerName string `json:"server_name,omitempty"` Modules []map[string]string `json:"modules,omitempty"` Extra map[string]interface{} `json:"extra,omitempty"` Tags map[string]string `json:"tags"` Stacktrace SentryStacktrace `json:"stacktrace"` }
type SentryStacktrace ¶
type SentryStacktrace struct {
Frames []SentryStacktraceFrame `json:"frames"`
}
type SentryStacktraceFrame ¶
type SentryStacktraceFrame struct {
Function string `json:"function"`
}
Click to show internal directories.
Click to hide internal directories.