Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Breadcrumb ¶
type Breadcrumb struct {
Values *[]BreadcrumbValue `json:"values,omitempty"`
}
Breadcrumb represents the breadcrumb interface in sentry
type BreadcrumbValue ¶
type BreadcrumbValue struct { Category *string `json:"category,omitempty"` Data *map[string]interface{} `json:"data,omitempty"` EventID *string `json:"event_id,omitempty"` Level *string `json:"level,omitempty"` Message *string `json:"message,omitempty"` Timestamp *time.Time `json:"timestamp,omitempty"` Type *string `json:"type,omitempty"` }
BreadcrumbValue represents a single breadcrumb
type Exception ¶
type Exception struct { Values *[]SingleException `json:"values,omitempty"` HasSystemFrames *bool `json:"hasSystemFrames,omitempty"` ExcOmitted *bool `json:"excOmitted,omitempty"` }
Exception implements a exception which olds stacktraces
type Frame ¶
type Frame struct { Filename *string `json:"filename,omitempty"` AbsolutePath *string `json:"absPath,omitempty"` Module *string `json:"module,omitempty"` Package *string `json:"package,omitempty"` InstructionAddress *string `json:"instructionAddr,omitempty"` InstructionOffSet *string `json:"instructionOffSet,omitempty"` Function *string `json:"function,omitempty"` Errors *[]string `json:"errors,omitempty"` ColumnNo *float64 `json:"columnNo,omitempty"` InApp *bool `json:"inApp,omitempty"` Platform *string `json:"platform,omitempty"` Context *[]FrameContext `json:"context,omitempty"` Vars *map[string]interface{} `json:"vars,omitempty"` LineNo *float64 `json:"lineNo,omitempty"` SymboleAddr *string `json:"symboleAddr,omitempty"` Symbol *string `json:"symbol,omitempty"` }
Frame represents a frame in a stacktrace/exception
type FrameContext ¶
FrameContext is a line number and string of this line
func (*FrameContext) UnmarshalJSON ¶
func (f *FrameContext) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the interface needed to convert to a frame context
type Message ¶
type Message struct { Message *string `json:"message,omitempty"` Formatted *string `json:"formatted,omitempty"` Params *[]string `json:"params,omitempty"` }
Message implements the sentry interface that a message is in a event request
type Query ¶
type Query struct { Query *string `json:"query,omitempty"` Engine *string `json:"engine,omitempty"` }
Query implements the sentry interface for a query
type Request ¶
type Request struct { Cookies *[][2]string `json:"cookies,omitempty"` Fragment *string `json:"fragment,omitempty"` Headers *[][2]string `json:"headers,omitempty"` URL *string `json:"uRL,omitempty"` Env *map[string]string `json:"env,omitempty"` Query *string `json:"query,omitempty"` Data *string `json:"data,omitempty"` Method *string `json:"method,omitempty"` }
Request implements the sentry interface for a request error
type SingleException ¶
type SingleException struct { Type *string `json:"type,omitempty"` Value *string `json:"value,omitempty"` Mechanism *map[string]string `json:"mechanism,omitempty"` Stacktrace *Stacktrace `json:"stacktrace,omitempty"` }
SingleException represents a single exception in a exception
type Stacktrace ¶
type Stacktrace struct { Frames []Frame `json:"frames,omitempty"` FramesOmitted []float64 `json:"framesOmitted,omitempty"` HasSystemFrames bool `json:"hasSystemFrames,omitempty"` }
Stacktrace implements the sentry interface for a stack trace in a event request
type Template ¶
type Template struct { AbsPath *string `json:"absPath,omitempty"` Filename *string `json:"filename,omitempty"` LineNo *int `json:"lineNo,omitempty"` Context *[]FrameContext `json:"context,omitempty"` }
Template implements the sentry interface for a template error
type User ¶
type User struct { ID *string `json:"id,omitempty"` Email *string `json:"email,omitempty"` Username *string `json:"username,omitempty"` IPAddress *string `json:"ipAddress,omitempty"` Data *map[string]interface{} `json:"data,omitempty"` }
User implements the sentry interface for a authenticated user