tools

package
v0.0.0-...-8dd0fc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2015 License: MIT Imports: 14 Imported by: 0

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 HandleMessage(message, errorfile string) error

func InitConfig

func InitConfig(filePath string)

func PathExists

func PathExists(path string) bool

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL